class

Authly::JWKS

Inherits Reference < Object

The JSON Web Key Set (RFC 7517) for the key tokens are verified with.

Only asymmetric algorithms have something to publish: with RS* or ES* the set holds the public key in config.public_key (a PEM). With HMAC (the default) the verification key is the signing secret, which must never be published, so the set is empty.

Constants

ALGORITHMS = ["RS256", "RS384", "RS512", "ES256", "ES384", "ES512"] of ::String

Constructors

new(config : Configuration = Authly.config)
Source

Instance methods

keys
Source
to_json(json : JSON::Builder) : Nil
Source

Nested types