class JWT::Configuration::Container
The Container class holds the configuration settings for JWT.
def deprecation_warnings=(value)
-
(void)
-
Raises:
-
(ArgumentError)
- if the value is not one of the supported values.
Parameters:
-
value
(Symbol
) -- the deprecation warnings setting. Must be one of `:once`, `:warn`, or `:silent`.
def deprecation_warnings=(value) raise ArgumentError, "Invalid deprecation_warnings value #{value}. Supported values: #{DEPRECATION_WARNINGS_VALUES}" unless DEPRECATION_WARNINGS_VALUES.include?(value) @deprecation_warnings = value end
def initialize
def initialize reset! end
def reset!
-
(void)
-
def reset! @decode = DecodeConfiguration.new @jwk = JwkConfiguration.new self.deprecation_warnings = :once end