class Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse
Response object for GenerateAppAttestChallenge
Attributes
challenge[RW]
A one time use challenge for the client to pass to Apple's App Attest API. Corresponds to the JSON property `challenge` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
ttl[RW]
The duration from the time this challenge is minted until it is expired. This field is intended to ease client-side token management, since the device may have clock skew, but is still able to accurately measure a duration. This expiration is intended to minimize the replay window within which a single challenge may be reused. See AIP 142 for naming of this field. 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 44 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 49 def update!(**args) @challenge = args[:challenge] if args.key?(:challenge) @ttl = args[:ttl] if args.key?(:ttl) end