gogol-oauth2-0.4.0: Google OAuth2 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.Method.OAuth2.TokenInfo

Contents

Description

See: Google OAuth2 API Reference for oauth2.tokeninfo.

Synopsis

REST Resource

type TokenInfoMethod = "oauth2" :> ("v2" :> ("tokeninfo" :> (QueryParam "access_token" Text :> (QueryParam "token_handle" Text :> (QueryParam "id_token" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] TokenInfo)))))) Source #

A resource alias for oauth2.tokeninfo method which the TokenInfo' request conforms to.

Creating a Request

tokenInfo' :: TokenInfo' Source #

Creates a value of TokenInfo' with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data TokenInfo' Source #

Instances
Eq TokenInfo' Source # 
Instance details

Defined in Network.Google.Method.OAuth2.TokenInfo

Data TokenInfo' Source # 
Instance details

Defined in Network.Google.Method.OAuth2.TokenInfo

Methods

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

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

toConstr :: TokenInfo' -> Constr #

dataTypeOf :: TokenInfo' -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TokenInfo' Source # 
Instance details

Defined in Network.Google.Method.OAuth2.TokenInfo

Generic TokenInfo' Source # 
Instance details

Defined in Network.Google.Method.OAuth2.TokenInfo

Associated Types

type Rep TokenInfo' :: Type -> Type #

GoogleRequest TokenInfo' Source # 
Instance details

Defined in Network.Google.Method.OAuth2.TokenInfo

Associated Types

type Rs TokenInfo' :: Type #

type Scopes TokenInfo' :: [Symbol] #

type Rep TokenInfo' Source # 
Instance details

Defined in Network.Google.Method.OAuth2.TokenInfo

type Rep TokenInfo' = D1 (MetaData "TokenInfo'" "Network.Google.Method.OAuth2.TokenInfo" "gogol-oauth2-0.4.0-S6BIeg93lU9Ut3r7VdeWX" False) (C1 (MetaCons "TokenInfo''" PrefixI True) (S1 (MetaSel (Just "_tAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tTokenHandle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tIdToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes TokenInfo' Source # 
Instance details

Defined in Network.Google.Method.OAuth2.TokenInfo

type Scopes TokenInfo' = ([] :: [Symbol])
type Rs TokenInfo' Source # 
Instance details

Defined in Network.Google.Method.OAuth2.TokenInfo

Request Lenses