Class ProjectsResource.AppsResource
The "apps" collection of methods.
Inherited Members
Namespace: Google.Apis.Firebaseappcheck.v1beta
Assembly: Google.Apis.Firebaseappcheck.v1beta.dll
Syntax
public class ProjectsResource.AppsResource
Constructors
AppsResource(IClientService)
Constructs a new resource.
Declaration
public AppsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AppAttestConfig
Gets the AppAttestConfig resource.
Declaration
public virtual ProjectsResource.AppsResource.AppAttestConfigResource AppAttestConfig { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AppsResource.AppAttestConfigResource |
DebugTokens
Gets the DebugTokens resource.
Declaration
public virtual ProjectsResource.AppsResource.DebugTokensResource DebugTokens { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AppsResource.DebugTokensResource |
DeviceCheckConfig
Gets the DeviceCheckConfig resource.
Declaration
public virtual ProjectsResource.AppsResource.DeviceCheckConfigResource DeviceCheckConfig { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AppsResource.DeviceCheckConfigResource |
PlayIntegrityConfig
Gets the PlayIntegrityConfig resource.
Declaration
public virtual ProjectsResource.AppsResource.PlayIntegrityConfigResource PlayIntegrityConfig { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AppsResource.PlayIntegrityConfigResource |
RecaptchaConfig
Gets the RecaptchaConfig resource.
Declaration
public virtual ProjectsResource.AppsResource.RecaptchaConfigResource RecaptchaConfig { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AppsResource.RecaptchaConfigResource |
RecaptchaEnterpriseConfig
Gets the RecaptchaEnterpriseConfig resource.
Declaration
public virtual ProjectsResource.AppsResource.RecaptchaEnterpriseConfigResource RecaptchaEnterpriseConfig { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AppsResource.RecaptchaEnterpriseConfigResource |
RecaptchaV3Config
Gets the RecaptchaV3Config resource.
Declaration
public virtual ProjectsResource.AppsResource.RecaptchaV3ConfigResource RecaptchaV3Config { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AppsResource.RecaptchaV3ConfigResource |
SafetyNetConfig
Gets the SafetyNetConfig resource.
Declaration
public virtual ProjectsResource.AppsResource.SafetyNetConfigResource SafetyNetConfig { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AppsResource.SafetyNetConfigResource |
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 ProjectsResource.AppsResource.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 |
---|---|
ProjectsResource.AppsResource.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 ProjectsResource.AppsResource.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 |
---|---|
ProjectsResource.AppsResource.ExchangeAppAttestAttestationRequest |
ExchangeCustomToken(GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest, string)
Validates a custom token signed using your project's Admin SDK service account credentials. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeCustomTokenRequest ExchangeCustomToken(GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest | body | The body of the request. |
string | app | Required. The relative resource name of the app, in the format:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangeCustomTokenRequest |
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 ProjectsResource.AppsResource.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 |
---|---|
ProjectsResource.AppsResource.ExchangeDebugTokenRequest |
ExchangeDeviceCheckToken(GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest, string)
Accepts a device_token
issued by
DeviceCheck, and attempts to validate it with Apple. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeDeviceCheckTokenRequest ExchangeDeviceCheckToken(GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest | body | The body of the request. |
string | app | Required. The relative resource name of the iOS app, in the format:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangeDeviceCheckTokenRequest |
ExchangePlayIntegrityToken(GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest, string)
Validates an integrity verdict response token from Play Integrity. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangePlayIntegrityTokenRequest ExchangePlayIntegrityToken(GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest | body | The body of the request. |
string | app | Required. The relative resource name of the Android app, in the format:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangePlayIntegrityTokenRequest |
ExchangeRecaptchaEnterpriseToken(GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest, string)
Validates a reCAPTCHA Enterprise response token. If valid, returns an App Check token AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeRecaptchaEnterpriseTokenRequest ExchangeRecaptchaEnterpriseToken(GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest | body | The body of the request. |
string | app | Required. The relative resource name of the web app, in the format:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangeRecaptchaEnterpriseTokenRequest |
ExchangeRecaptchaToken(GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest, string)
Validates a reCAPTCHA v3 response token. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeRecaptchaTokenRequest ExchangeRecaptchaToken(GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest | body | The body of the request. |
string | app | Required. The relative resource name of the web app, in the format:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangeRecaptchaTokenRequest |
ExchangeRecaptchaV3Token(GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest, string)
Validates a reCAPTCHA v3 response token. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeRecaptchaV3TokenRequest ExchangeRecaptchaV3Token(GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest | body | The body of the request. |
string | app | Required. The relative resource name of the web app, in the format:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangeRecaptchaV3TokenRequest |
ExchangeSafetyNetToken(GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest, string)
Validates a SafetyNet token. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeSafetyNetTokenRequest ExchangeSafetyNetToken(GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest | body | The body of the request. |
string | app | Required. The relative resource name of the Android app, in the format:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangeSafetyNetTokenRequest |
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 ProjectsResource.AppsResource.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 |
---|---|
ProjectsResource.AppsResource.GenerateAppAttestChallengeRequest |
GeneratePlayIntegrityChallenge(GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest, string)
Generates a challenge that protects the integrity of an immediately following integrity verdict request to the Play Integrity API. The next call to ExchangePlayIntegrityToken using the resulting integrity token will verify the presence and validity of the challenge. A challenge should not be reused for multiple calls.
Declaration
public virtual ProjectsResource.AppsResource.GeneratePlayIntegrityChallengeRequest GeneratePlayIntegrityChallenge(GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest | body | The body of the request. |
string | app | Required. The relative resource name of the app, in the format:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.GeneratePlayIntegrityChallengeRequest |