Show / Hide Table of Contents

Class OauthClientsResource

The "oauthClients" collection of methods.

Inheritance
object
OauthClientsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Firebaseappcheck.v1
Assembly: Google.Apis.Firebaseappcheck.v1.dll
Syntax
public class OauthClientsResource

Constructors

OauthClientsResource(IClientService)

Constructs a new resource.

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

Methods

ExchangeAppAttestAssertion(GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest, string)

Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken.

Declaration
public virtual OauthClientsResource.ExchangeAppAttestAssertionRequest ExchangeAppAttestAssertion(GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest body, string app)
Parameters
Type Name Description
GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest body

The body of the request.

string app

Required. The relative resource name of the iOS app, in the format:

projects/{project_number}/apps/{app_id}

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.

Returns
Type Description
OauthClientsResource.ExchangeAppAttestAssertionRequest

ExchangeAppAttestAttestation(GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest, string)

Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful).

Declaration
public virtual OauthClientsResource.ExchangeAppAttestAttestationRequest ExchangeAppAttestAttestation(GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest body, string app)
Parameters
Type Name Description
GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest body

The body of the request.

string app

Required. The relative resource name of the iOS app, in the format:

projects/{project_number}/apps/{app_id}

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.

Returns
Type Description
OauthClientsResource.ExchangeAppAttestAttestationRequest

ExchangeDebugToken(GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest, string)

Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method to prevent accidental exposure of the app to abuse.

Declaration
public virtual OauthClientsResource.ExchangeDebugTokenRequest ExchangeDebugToken(GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest body, string app)
Parameters
Type Name Description
GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest body

The body of the request.

string app

Required. The relative resource name of the app, in the format:

projects/{project_number}/apps/{app_id}

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.

Returns
Type Description
OauthClientsResource.ExchangeDebugTokenRequest

GenerateAppAttestChallenge(GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest, string)

Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused for multiple calls.

Declaration
public virtual OauthClientsResource.GenerateAppAttestChallengeRequest GenerateAppAttestChallenge(GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest body, string app)
Parameters
Type Name Description
GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest body

The body of the request.

string app

Required. The relative resource name of the iOS app, in the format:

projects/{project_number}/apps/{app_id}

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.

Returns
Type Description
OauthClientsResource.GenerateAppAttestChallengeRequest
In this article
Back to top Generated by DocFX