Method: applications.verify
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu istekle sağlanan yetkilendirme jetonunun, belirtilen kimliğe sahip uygulama için olduğunu doğrular ve hangi oynatıcı için verildiğini döndürür.
HTTP isteği
GET https://games.googleapis.com/games/v1/applications/{applicationId}/verify
Yol parametreleri
Parametreler |
applicationId |
string
Google Play geliştirici konsolundaki uygulama kimliği.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Üçüncü taraf uygulama doğrulama yanıt kaynağı.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"player_id": string,
"alternate_player_id": string,
"kind": string
} |
Alanlar |
player_id |
string
Bu istekte kullanılan yetkilendirme jetonunun verildiği oynatıcının kimliği.
|
alternate_player_id |
string
Bu istekte kullanılan yetkilendirme jetonunun verildiği oynatıcı için daha önce kullanılan alternatif kimlik. (Bu alan normalde doldurulmaz.)
|
kind |
string
Bu kaynağın türünü benzersiz bir şekilde tanımlar. Değer her zaman sabit games#applicationVerifyResponse dizesidir.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/games_lite
Daha fazla bilgi için OAuth 2.0 Overview (OAuth 2.0'a Genel Bakış) sayfasına göz atın.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Method: applications.verify\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.VerifyAuthTokenResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nVerifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for.\n\n### HTTP request\n\n`GET https://games.googleapis.com/games/v1/applications/{applicationId}/verify`\n\n### Path parameters\n\n| Parameters ||\n|-----------------|---------------------------------------------------------------------|\n| `applicationId` | `string` The application ID from the Google Play developer console. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA third party application verification response resource.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------|\n| ``` { \"player_id\": string, \"alternate_player_id\": string, \"kind\": string } ``` |\n\n| Fields ||\n|-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `player_id` | `string` The ID of the player that was issued the auth token used in this request. |\n| `alternate_player_id` | `string` An alternate ID that was once used for the player that was issued the auth token used in this request. (This field is not normally populated.) |\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#applicationVerifyResponse`. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/games`\n- `\n https://www.googleapis.com/auth/games_lite`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]