Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPublicJwkSet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappcheck_v1beta/classes.rb,
lib/google/apis/firebaseappcheck_v1beta/representations.rb,
lib/google/apis/firebaseappcheck_v1beta/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 one day.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaPublicJwkSet

Returns a new instance of GoogleFirebaseAppcheckV1betaPublicJwkSet.



677
678
679
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 677

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

Instance Attribute Details

#keysArray<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaPublicJwk>

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



675
676
677
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 675

def keys
  @keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



682
683
684
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 682

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