Returns the tags Resource.
Close httplib2 connections.
verify(appPackage, token, body=None, x__xgafv=None)
Verify an API token by asserting the app and persona it belongs to. The verification is a protection against client-side attacks and will fail if the contents of the token don't match the provided values. A token must be verified before it can be used to manipulate user tags.
close()
Close httplib2 connections.
verify(appPackage, token, body=None, x__xgafv=None)
Verify an API token by asserting the app and persona it belongs to. The verification is a protection against client-side attacks and will fail if the contents of the token don't match the provided values. A token must be verified before it can be used to manipulate user tags.
Args:
appPackage: string, Required. App the token belongs to. Format: apps/{package_name} (required)
token: string, Required. The token to be verified. Format: tokens/{token} (required)
body: object, The request body.
The object takes the form of:
{ # Request message for VerifyToken.
"persona": "A String", # Required. Persona represented by the token. Format: personas/{persona}
}
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 VerifyToken.
}