| |
Methods defined here:
- __init__(self)
- issueTokenGet = method(self, **kwargs)
- A description of how to use this function
Args:
origin: string, A parameter
force: boolean, A parameter
client_id: string, A parameter (required)
alg: string, A parameter
app_id: string, A parameter
android_device_id: string, A parameter
audience: string, A parameter
hl: string, A parameter
scope: string, A parameter (required)
response_type: string, A parameter (required)
Returns:
An object of the form
{
"consent": {
"scopes": [
{
"description": "A String",
"detail": "A String",
},
],
"oauthClient": {
"iconUri": "A String",
"developerEmail": "A String",
"name": "A String",
},
},
"token": "A String",
"code": "A String",
"issueAdvice": "A String",
"idToken": "A String",
}
- tokeninfo = method(self, **kwargs)
- A description of how to use this function
Args:
access_token: string, A parameter
id_token: string, A parameter
Returns:
An object of the form
{
"issued_to": "A String", # To whom was the token issued to. In general the same as audience.
"user_id": "A String", # The Gaia obfuscated user id.
"expires_in": 42, # The expiry time of the token, as number of seconds left until expiry.
"access_type": "A String", # The access type granted with this toke. It can be offline or online.
"audience": "A String", # Who is the intended audience for this token. In general the same as issued_to.
"scope": "A String", # The space separated list of scopes granted to this token.
"email": "A String", # The email address of the user. Present only if the email scope is present in the request.
"verified_email": True or False, # Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request.
}
- userinfo = methodResource(self)
- A collection resource.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|