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.



1001
1002
1003
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1001

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



999
1000
1001
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 999

def keys
  @keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1006
1007
1008
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 1006

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