Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1PublicJwkSet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappcheck_v1/classes.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb

Overview

The currently active set of public keys that can be used to verify App Check tokens. This object is a JWK set as specified by section 5 of RFC 7517. For security, the response must not be cached for longer than six hours.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1PublicJwkSet

Returns a new instance of GoogleFirebaseAppcheckV1PublicJwkSet.



924
925
926
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 924

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keysArray<Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1PublicJwk>

The set of public keys. See section 5.1 of RFC 7517. Corresponds to the JSON property keys



922
923
924
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 922

def keys
  @keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



929
930
931
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 929

def update!(**args)
  @keys = args[:keys] if args.key?(:keys)
end