Google Code offered in: English - Español - 日本語 - 한국어 - Português - Pусский - 中文(简体) - 中文(繁體)
The google.appengine.api.app_identity
package provides the following function:
Gets an OAuth2 access token to act on behalf of the application.
Arguments:
Returns tuple, access token (string) and expiration time (seconds since the epoch). The access token will be cached across multiple calls using memcache.
Returns the application ID.
Returns the standard hostname of the default version of the application. For example, if your application ID is your_app_id
then this function returns a string similar to your_app_id.appspot.com
.
Gets public certificates.
Arguments:
Returns a list of currently valid PublicCertificate objects. Each PublicCertificate has a key_name and x509_certificate_pem property.
Gets service account name of the app.
Arguments:
Returns the service account name of the app.
Signs a blob.
Arguments:
Returns a tuple, a signing key name, and a signature.