class Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse
Encapsulates an *App Check token*, which are used to access Firebase services protected by App Check.
Attributes
attestation_token[RW]
An App Check token. App Check tokens are signed [JWTs](tools.ietf.org/ html/rfc7519) containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check. Corresponds to the JSON property `attestationToken` @return [String]
ttl[RW]
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. Corresponds to the JSON property `ttl` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firebaseappcheck_v1beta/classes.rb, line 108 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firebaseappcheck_v1beta/classes.rb, line 113 def update!(**args) @attestation_token = args[:attestation_token] if args.key?(:attestation_token) @ttl = args[:ttl] if args.key?(:ttl) end