Show / Hide Table of Contents

Class AppsResource.TokensResource

The "tokens" collection of methods.

Inheritance
object
AppsResource.TokensResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PlayGrouping.v1alpha1
Assembly: Google.Apis.PlayGrouping.v1alpha1.dll
Syntax
public class AppsResource.TokensResource

Constructors

TokensResource(IClientService)

Constructs a new resource.

Declaration
public TokensResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Tags

Gets the Tags resource.

Declaration
public virtual AppsResource.TokensResource.TagsResource Tags { get; }
Property Value
Type Description
AppsResource.TokensResource.TagsResource

Methods

Verify(VerifyTokenRequest, string, string)

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.

Declaration
public virtual AppsResource.TokensResource.VerifyRequest Verify(VerifyTokenRequest body, string appPackage, string token)
Parameters
Type Name Description
VerifyTokenRequest body

The body of the request.

string appPackage

Required. App the token belongs to. Format: apps/{package_name}

string token

Required. The token to be verified. Format: tokens/{token}

Returns
Type Description
AppsResource.TokensResource.VerifyRequest
In this article
Back to top Generated by DocFX