gogol-games-0.2.0: Google Play Game Services SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Games.Applications.Verify

Contents

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.

Synopsis

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

applicationsVerify Source #

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.

Instances

Eq ApplicationsVerify Source # 
Data ApplicationsVerify Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationsVerify -> c ApplicationsVerify #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationsVerify #

toConstr :: ApplicationsVerify -> Constr #

dataTypeOf :: ApplicationsVerify -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationsVerify) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationsVerify) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationsVerify -> ApplicationsVerify #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationsVerify -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationsVerify -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationsVerify -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationsVerify -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationsVerify -> m ApplicationsVerify #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationsVerify -> m ApplicationsVerify #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationsVerify -> m ApplicationsVerify #

Show ApplicationsVerify Source # 
Generic ApplicationsVerify Source # 
GoogleRequest ApplicationsVerify Source # 
type Rep ApplicationsVerify Source # 
type Rep ApplicationsVerify = D1 (MetaData "ApplicationsVerify" "Network.Google.Resource.Games.Applications.Verify" "gogol-games-0.2.0-KphkSErLqFDEpZZf11weia" False) (C1 (MetaCons "ApplicationsVerify'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_avConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_avApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ApplicationsVerify Source # 
type Scopes ApplicationsVerify = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs ApplicationsVerify Source # 

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.