Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1OpenIdConnectKey
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1OpenIdConnectKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Represents a public key of the session cookie signer, formatted as a JSON Web Key (JWK).
Instance Attribute Summary collapse
-
#alg ⇒ String
Signature algorithm.
-
#e ⇒ String
Exponent for the RSA public key, it is represented as the base64url encoding of the value's big endian representation.
-
#kid ⇒ String
Unique string to identify this key.
-
#kty ⇒ String
Key type.
-
#n ⇒ String
Modulus for the RSA public key, it is represented as the base64url encoding of the value's big endian representation.
-
#use ⇒ String
Key use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1OpenIdConnectKey
constructor
A new instance of GoogleCloudIdentitytoolkitV1OpenIdConnectKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1OpenIdConnectKey
Returns a new instance of GoogleCloudIdentitytoolkitV1OpenIdConnectKey.
1411 1412 1413 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alg ⇒ String
Signature algorithm.
Corresponds to the JSON property alg
1382 1383 1384 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1382 def alg @alg end |
#e ⇒ String
Exponent for the RSA public key, it is represented as the base64url encoding
of the value's big endian representation.
Corresponds to the JSON property e
1388 1389 1390 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1388 def e @e end |
#kid ⇒ String
Unique string to identify this key.
Corresponds to the JSON property kid
1393 1394 1395 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1393 def kid @kid end |
#kty ⇒ String
Key type.
Corresponds to the JSON property kty
1398 1399 1400 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1398 def kty @kty end |
#n ⇒ String
Modulus for the RSA public key, it is represented as the base64url encoding of
the value's big endian representation.
Corresponds to the JSON property n
1404 1405 1406 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1404 def n @n end |
#use ⇒ String
Key use.
Corresponds to the JSON property use
1409 1410 1411 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1409 def use @use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1416 1417 1418 1419 1420 1421 1422 1423 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1416 def update!(**args) @alg = args[:alg] if args.key?(:alg) @e = args[:e] if args.key?(:e) @kid = args[:kid] if args.key?(:kid) @kty = args[:kty] if args.key?(:kty) @n = args[:n] if args.key?(:n) @use = args[:use] if args.key?(:use) end |