Class ProjectsResource.AppsResource
The "apps" collection of methods.
Inherited Members
Namespace: Google.Apis.Firebaseappcheck.v1
Assembly: Google.Apis.Firebaseappcheck.v1.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 |
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(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 ProjectsResource.AppsResource.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:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.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 ProjectsResource.AppsResource.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:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangeAppAttestAttestationRequest |
ExchangeCustomToken(GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest, 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(GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest | 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(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 ProjectsResource.AppsResource.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:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.ExchangeDebugTokenRequest |
ExchangeDeviceCheckToken(GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest, 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(GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest | 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(GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest, string)
Validates an integrity verdict response token from Play Integrity. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangePlayIntegrityTokenRequest ExchangePlayIntegrityToken(GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest | 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(GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest, string)
Validates a reCAPTCHA Enterprise response token. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeRecaptchaEnterpriseTokenRequest ExchangeRecaptchaEnterpriseToken(GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest | 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 |
ExchangeRecaptchaV3Token(GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest, string)
Validates a reCAPTCHA v3 response token. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeRecaptchaV3TokenRequest ExchangeRecaptchaV3Token(GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest | 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(GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest, string)
Validates a SafetyNet token. If valid, returns an AppCheckToken.
Declaration
public virtual ProjectsResource.AppsResource.ExchangeSafetyNetTokenRequest ExchangeSafetyNetToken(GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest | 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(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 ProjectsResource.AppsResource.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:
If necessary, the |
Returns
Type | Description |
---|---|
ProjectsResource.AppsResource.GenerateAppAttestChallengeRequest |
GeneratePlayIntegrityChallenge(GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest, 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(GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest body, string app)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest | 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 |