gogol-admin-directory-0.3.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 # 
Data TokensGet Source # 

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 # 
Generic TokensGet Source # 

Associated Types

type Rep TokensGet :: * -> * #

GoogleRequest TokensGet Source # 

Associated Types

type Rs TokensGet :: * #

type Scopes TokensGet :: [Symbol] #

type Rep TokensGet Source # 
type Rep TokensGet = D1 (MetaData "TokensGet" "Network.Google.Resource.Directory.Tokens.Get" "gogol-admin-directory-0.3.0-JrdiABG5d519qiNpH4uyxk" False) (C1 (MetaCons "TokensGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tgClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tgUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TokensGet Source # 
type Scopes TokensGet = (:) Symbol "https://www.googleapis.com/auth/admin.directory.user.security" ([] Symbol)
type Rs TokensGet Source # 

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.