| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Games.Applications.Verify
Description
Verifies 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.
See: Google Play Game Services API Reference for games.applications.verify.
- type ApplicationsVerifyResource = "games" :> ("v1" :> ("applications" :> (Capture "applicationId" Text :> ("verify" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ApplicationVerifyResponse))))))
- applicationsVerify :: Text -> ApplicationsVerify
- data ApplicationsVerify
- avConsistencyToken :: Lens' ApplicationsVerify (Maybe Int64)
- avApplicationId :: Lens' ApplicationsVerify Text
REST Resource
type ApplicationsVerifyResource = "games" :> ("v1" :> ("applications" :> (Capture "applicationId" Text :> ("verify" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ApplicationVerifyResponse)))))) Source #
A resource alias for games.applications.verify method which the
ApplicationsVerify request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> ApplicationsVerify |
Creates a value of ApplicationsVerify with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ApplicationsVerify Source #
Verifies 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.
See: applicationsVerify smart constructor.
Request Lenses
avConsistencyToken :: Lens' ApplicationsVerify (Maybe Int64) Source #
The last-seen mutation timestamp.
avApplicationId :: Lens' ApplicationsVerify Text Source #
The application ID from the Google Play developer console.