Class OauthClientsResource
The "oauthClients" collection of methods.
Inherited Members
Namespace: Google.Apis.Firebaseappcheck.v1beta
Assembly: Google.Apis.Firebaseappcheck.v1beta.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(GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest, 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(GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest | body | The body of the request. |
string | app | Required. The relative resource name of the iOS app, in the format:
If necessary, the
You can view the OAuth client ID for your OAuth clients in the Google Cloud console. Note that only iOS OAuth clients are supported at this time, and they must be linked to corresponding iOS Firebase apps. Please see the documentation for more information. |
Returns
Type | Description |
---|---|
OauthClientsResource.ExchangeAppAttestAssertionRequest |
ExchangeAppAttestAttestation(GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest, 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(GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest | body | The body of the request. |
string | app | Required. The relative resource name of the iOS app, in the format:
If necessary, the
You can view the OAuth client ID for your OAuth clients in the Google Cloud console. Note that only iOS OAuth clients are supported at this time, and they must be linked to corresponding iOS Firebase apps. Please see the documentation for more information. |
Returns
Type | Description |
---|---|
OauthClientsResource.ExchangeAppAttestAttestationRequest |
ExchangeDebugToken(GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest, 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(GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest | body | The body of the request. |
string | app | Required. The relative resource name of the app, in the format:
If necessary, the
You can view the OAuth client ID for your OAuth clients in the Google Cloud console. Note that only iOS OAuth clients are supported at this time, and they must be linked to corresponding iOS Firebase apps. Please see the documentation for more information. |
Returns
Type | Description |
---|---|
OauthClientsResource.ExchangeDebugTokenRequest |
GenerateAppAttestChallenge(GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest, 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(GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest | body | The body of the request. |
string | app | Required. The relative resource name of the iOS app, in the format:
If necessary, the
You can view the OAuth client ID for your OAuth clients in the Google Cloud console. Note that only iOS OAuth clients are supported at this time, and they must be linked to corresponding iOS Firebase apps. Please see the documentation for more information. |
Returns
Type | Description |
---|---|
OauthClientsResource.GenerateAppAttestChallengeRequest |