View Source GoogleApi.FirebaseAppCheck.V1.Model.GoogleFirebaseAppcheckV1PlayIntegrityConfig (google_api_firebase_app_check v0.6.1)

An app's Play Integrity configuration object. This configuration controls certain properties of the AppCheckToken returned by ExchangePlayIntegrityToken, such as its ttl. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by the Play Integrity API; please register them via the Firebase Console or programmatically via the Firebase Management Service.

Attributes

  • name (type: String.t, default: nil) - Required. The relative resource name of the Play Integrity configuration object, in the format: projects/{project_number}/apps/{app_id}/playIntegrityConfig
  • tokenTtl (type: String.t, default: nil) - Specifies the duration for which App Check tokens exchanged from Play Integrity tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.FirebaseAppCheck.V1.Model.GoogleFirebaseAppcheckV1PlayIntegrityConfig{
    name: String.t() | nil,
    tokenTtl: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.