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

Contents

Description

Delete all access tokens issued by a user for an application.

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

Synopsis

REST Resource

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

A resource alias for directory.tokens.delete method which the TokensDelete request conforms to.

Creating a Request

tokensDelete Source #

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

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

data TokensDelete Source #

Delete all access tokens issued by a user for an application.

See: tokensDelete smart constructor.

Instances
Eq TokensDelete Source # 
Instance details

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

Data TokensDelete Source # 
Instance details

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

Methods

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

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

toConstr :: TokensDelete -> Constr #

dataTypeOf :: TokensDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TokensDelete Source # 
Instance details

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

Generic TokensDelete Source # 
Instance details

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

Associated Types

type Rep TokensDelete :: Type -> Type #

GoogleRequest TokensDelete Source # 
Instance details

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

Associated Types

type Rs TokensDelete :: Type #

type Scopes TokensDelete :: [Symbol] #

type Rep TokensDelete Source # 
Instance details

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

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

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

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

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

type Rs TokensDelete = ()

Request Lenses

tdClientId :: Lens' TokensDelete Text Source #

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

tdUserKey :: Lens' TokensDelete 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.