Returns the userinfo Resource.
A description of how to use this function
Create a BatchHttpRequest object based on the discovery document.
tokeninfo(token_handle=None, access_token=None, id_token=None)
A description of how to use this function
getCertForOpenIdConnect()
A description of how to use this function Args: Returns: An object of the form: { "keys": [ { "use": "sig", "e": "A String", "kty": "RSA", "alg": "RS256", "n": "A String", "kid": "A String", }, ], }
new_batch_http_request()
Create a BatchHttpRequest object based on the discovery document. Args: callback: callable, A callback to be called for each response, of the form callback(id, response, exception). The first parameter is the request id, and the second is the deserialized response object. The third is an apiclient.errors.HttpError exception object if an HTTP error occurred while processing the request, or None if no error occurred. Returns: A BatchHttpRequest object based on the discovery document.
tokeninfo(token_handle=None, access_token=None, id_token=None)
A description of how to use this function Args: token_handle: string, A parameter 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. "token_handle": "A String", # The token handle associated with this token. "user_id": "A String", # The 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 token. 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. }