Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Get information about an access token issued by a user.
See: Admin Directory API Reference for directory.tokens.get
.
Synopsis
- type TokensGetResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("tokens" :> (Capture "clientId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Token)))))))
- tokensGet :: Text -> Text -> TokensGet
- data TokensGet
- tgClientId :: Lens' TokensGet Text
- tgUserKey :: Lens' TokensGet Text
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
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:
Get information about an access token issued by a user.
See: tokensGet
smart constructor.
Instances
Eq TokensGet Source # | |
Data TokensGet Source # | |
Defined in Network.Google.Resource.Directory.Tokens.Get 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 # | |
GoogleRequest TokensGet Source # | |
type Rep TokensGet Source # | |
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 # | |
Defined in Network.Google.Resource.Directory.Tokens.Get | |
type Rs TokensGet Source # | |
Defined in Network.Google.Resource.Directory.Tokens.Get |