View Source GoogleApi.FirebaseAppCheck.V1.Model.GoogleFirebaseAppcheckV1AppCheckToken (google_api_firebase_app_check v0.5.0)

Encapsulates an App Check token, which are used to access Firebase services protected by App Check.

Attributes

  • token (type: String.t, default: nil) - The App Check token. App Check tokens are signed JWTs containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check. These tokens can also be verified by your own custom backends using the Firebase Admin SDK.
  • ttl (type: String.t, default: nil) - The duration from the time this token is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still able to accurately measure a duration.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.FirebaseAppCheck.V1.Model.GoogleFirebaseAppcheckV1AppCheckToken{
    token: String.t() | nil,
    ttl: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.