Module: JWT::Configuration
- Included in:
- JWT
- Defined in:
- lib/jwt/configuration.rb,
lib/jwt/configuration/container.rb,
lib/jwt/configuration/jwk_configuration.rb,
lib/jwt/configuration/decode_configuration.rb
Overview
The Configuration module provides methods to configure JWT settings.
Defined Under Namespace
Classes: Container, DecodeConfiguration, JwkConfiguration
Instance Method Summary collapse
-
#configuration ⇒ JWT::Configuration::Container
Returns the JWT configuration container.
-
#configure {|config| ... } ⇒ Object
Configures the JWT settings.
Instance Method Details
#configuration ⇒ JWT::Configuration::Container
Returns the JWT configuration container.
19 20 21 |
# File 'lib/jwt/configuration.rb', line 19 def configuration @configuration ||= ::JWT::Configuration::Container.new end |
#configure {|config| ... } ⇒ Object
Configures the JWT settings.
12 13 14 |
# File 'lib/jwt/configuration.rb', line 12 def configure yield(configuration) end |