The OAuth 2.0 access token to act on behalf of the application.
View aliases
Main aliases
`google.appengine.api.app_identity.app_identity.get_access_token`
google.appengine.api.app_identity.get_access_token(
scopes, service_account_id=None
)
Each application has an associated Google account. This function returns an
OAuth 2.0 access token that corresponds to the running app. Access tokens are
safe to cache and reuse until their expiry time as returned.
Args |
scopes
|
The requested API scope string, or a list of strings.
|
Returns |
A Pair , Access token string and the expiration time in seconds since
the epoch.
|
Raises |
InvalidScope
|
If the scopes are unspecified or invalid.
|