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.List

Contents

Description

Returns the set of tokens specified user has issued to 3rd party applications.

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

Synopsis

REST Resource

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

A resource alias for directory.tokens.list method which the TokensList request conforms to.

Creating a Request

tokensList Source #

Arguments

:: Text

tlUserKey

-> TokensList 

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

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

data TokensList Source #

Returns the set of tokens specified user has issued to 3rd party applications.

See: tokensList smart constructor.

Instances
Eq TokensList Source # 
Instance details

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

Data TokensList Source # 
Instance details

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

Methods

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

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

toConstr :: TokensList -> Constr #

dataTypeOf :: TokensList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TokensList Source # 
Instance details

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

Generic TokensList Source # 
Instance details

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

Associated Types

type Rep TokensList :: Type -> Type #

GoogleRequest TokensList Source # 
Instance details

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

Associated Types

type Rs TokensList :: Type #

type Scopes TokensList :: [Symbol] #

type Rep TokensList Source # 
Instance details

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

type Rep TokensList = D1 (MetaData "TokensList" "Network.Google.Resource.Directory.Tokens.List" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" True) (C1 (MetaCons "TokensList'" PrefixI True) (S1 (MetaSel (Just "_tlUserKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes TokensList Source # 
Instance details

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

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

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

Request Lenses

tlUserKey :: Lens' TokensList 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.