Module: Usps::JwtAuth
- Defined in:
- lib/usps/jwt_auth.rb,
lib/railtie.rb,
lib/usps/jwt_auth/config.rb,
lib/usps/jwt_auth/decode.rb,
lib/usps/jwt_auth/encode.rb,
lib/usps/jwt_auth/concern.rb,
lib/usps/jwt_auth/version.rb
Overview
Unified configuration for handling JWT Authentication
Defined Under Namespace
Modules: Concern, Config Classes: Decode, Encode, Railtie
Constant Summary collapse
- VERSION =
'0.0.6'
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
17 18 19 |
# File 'lib/usps/jwt_auth.rb', line 17 def configuration @configuration ||= Config.new end |
.configure {|configuration| ... } ⇒ Object
21 22 23 24 |
# File 'lib/usps/jwt_auth.rb', line 21 def configure yield(configuration) if block_given? configuration end |