Returns the accounts Resource.
Close httplib2 connections.
createSessionCookie(targetProjectId, tenantId, body=None, x__xgafv=None)
Creates a session cookie for the given Identity Platform ID token. The session cookie is used by the client to preserve the user's login state.
close()
Close httplib2 connections.
createSessionCookie(targetProjectId, tenantId, body=None, x__xgafv=None)
Creates a session cookie for the given Identity Platform ID token. The session cookie is used by the client to preserve the user's login state. Args: targetProjectId: string, The ID of the project that the account belongs to. (required) tenantId: string, The tenant ID of the Identity Platform tenant the account belongs to. (required) body: object, The request body. The object takes the form of: { # Request message for CreateSessionCookie. "idToken": "A String", # Required. A valid Identity Platform ID token. "tenantId": "A String", # The tenant ID of the Identity Platform tenant the account belongs to. "validDuration": "A String", # The number of seconds until the session cookie expires. Specify a duration in seconds, between five minutes and fourteen days, inclusively. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for CreateSessionCookie. "sessionCookie": "A String", # The session cookie that has been created from the Identity Platform ID token specified in the request. It is in the form of a JSON Web Token (JWT). Always present. }