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