class

Plaid::JWKPublicKey

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

A JSON Web Key (JWK) that can be used in conjunction with JWT libraries to verify Plaid webhooks

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, alg : String | Nil = nil, crv : String | Nil = nil, kid : String | Nil = nil, kty : String | Nil = nil, use : String | Nil = nil, x : String | Nil = nil, y : String | Nil = nil, created_at : Int32 | Nil = nil, expired_at : Int32 | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

alg

The alg member identifies the cryptographic algorithm family used with the key.

Source
alg=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] alg Object to be assigned

Source
created_at

The timestamp when the key was created, in Unix time.

Source
created_at=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] created_at Object to be assigned

Source
crv

The crv member identifies the cryptographic curve used with the key.

Source
crv=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] crv Object to be assigned

Source
expired_at

The timestamp when the key expired, in Unix time.

Source
expired_at=(new_value : Int32 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] expired_at Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

kid

The kid (Key ID) member can be used to match a specific key. This can be used, for instance, to choose among a set of keys within the JWK during key rollover.

Source
kid=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] kid Object to be assigned

Source
kty

The kty (key type) parameter identifies the cryptographic algorithm family used with the key, such as RSA or EC.

Source
kty=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] kty Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
use

The use (public key use) parameter identifies the intended use of the public key.

Source
use=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] use Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
x

The x member contains the x coordinate for the elliptic curve point, provided as a base64url-encoded string of the coordinate's big endian representation.

Source
x=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] x Object to be assigned

Source
y

The y member contains the y coordinate for the elliptic curve point, provided as a base64url-encoded string of the coordinate's big endian representation.

Source
y=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] y Object to be assigned

Source