Show / Hide Table of Contents

Class ProjectsResource.VerifyAppCheckTokenRequest

Verifies the given App Check token and returns token usage signals that callers may act upon. This method currently only supports App Check tokens exchanged from the following attestation providers: * Play Integrity API * App Attest * DeviceCheck (DCDevice tokens) * reCAPTCHA Enterprise * reCAPTCHA v3 * Custom providers App Check tokens exchanged from debug secrets are also supported. Calling this method on an otherwise valid App Check token with an unsupported provider will cause an HTTP 400 error to be returned. Returns whether this token was already consumed before this call. If this is the first time this method has seen the given App Check token, the field already_consumed in the response will be absent. The given token will then be marked as already_consumed (set to true) for all future invocations of this method for that token. Note that if the given App Check token is invalid, an HTTP 403 error is returned instead of a response object, regardless whether the token was already consumed. Currently, when evaluating whether an App Check token was already consumed, only calls to this exact method are counted. Use of the App Check token elsewhere will not mark the token as being already consumed. The caller must have the firebaseappcheck.appCheckTokens.verify permission to call this method. This permission is part of the Firebase App Check Token Verifier role.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>
ProjectsResource.VerifyAppCheckTokenRequest
Implements
IClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>
IClientServiceRequest
Inherited Members
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.Xgafv
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.AccessToken
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.Alt
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.Callback
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.Fields
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.Key
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.OauthToken
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.PrettyPrint
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.QuotaUser
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.UploadType
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.UploadProtocol
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.Execute()
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ExecuteAsync()
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ETagAction
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ModifyRequest
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ValidateParameters
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.ApiVersion
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.RequestParameters
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Firebaseappcheck.v1beta
Assembly: Google.Apis.Firebaseappcheck.v1beta.dll
Syntax
public class ProjectsResource.VerifyAppCheckTokenRequest : FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>, IClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>, IClientServiceRequest

Constructors

VerifyAppCheckTokenRequest(IClientService, GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenRequest, string)

Constructs a new VerifyAppCheckToken request.

Declaration
public VerifyAppCheckTokenRequest(IClientService service, GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenRequest body, string project)
Parameters
Type Name Description
IClientService service
GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenRequest body
string project

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.MethodName

Project

Required. The relative resource name of the project for which the token was minted, in the format:

projects/{project_number}

If necessary, the project_number element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 standard.

Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.GetBody()

InitParameters()

Initializes VerifyAppCheckToken parameter list.

Declaration
protected override void InitParameters()
Overrides
FirebaseappcheckBaseServiceRequest<GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX