gogol-admin-directory-0.4.0: Google Admin Directory 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.Directory.Tokens.Get

Contents

Description

Get information about an access token issued by a user.

See: Admin Directory API Reference for directory.tokens.get.

Synopsis

REST Resource

type TokensGetResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("tokens" :> (Capture "clientId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Token))))))) Source #

A resource alias for directory.tokens.get method which the TokensGet request conforms to.

Creating a Request

tokensGet Source #

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

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

data TokensGet Source #

Get information about an access token issued by a user.

See: tokensGet smart constructor.

Instances
Eq TokensGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Tokens.Get

Data TokensGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Tokens.Get

Methods

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

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

toConstr :: TokensGet -> Constr #

dataTypeOf :: TokensGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TokensGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Tokens.Get

Generic TokensGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Tokens.Get

Associated Types

type Rep TokensGet :: Type -> Type #

GoogleRequest TokensGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Tokens.Get

Associated Types

type Rs TokensGet :: Type #

type Scopes TokensGet :: [Symbol] #

type Rep TokensGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Tokens.Get

type Rep TokensGet = D1 (MetaData "TokensGet" "Network.Google.Resource.Directory.Tokens.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "TokensGet'" PrefixI True) (S1 (MetaSel (Just "_tgClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tgUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes TokensGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Tokens.Get

type Scopes TokensGet = "https://www.googleapis.com/auth/admin.directory.user.security" ': ([] :: [Symbol])
type Rs TokensGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Tokens.Get

Request Lenses

tgClientId :: Lens' TokensGet Text Source #

The Client ID of the application the token is issued to.

tgUserKey :: Lens' TokensGet Text Source #

Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.