Module: Usps::JwtAuth
- Defined in:
- lib/usps/jwt_auth.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
Constant Summary collapse
- VERSION =
'0.0.4'
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
15 16 17 |
# File 'lib/usps/jwt_auth.rb', line 15 def configuration @configuration ||= Config.new end |
.configure {|configuration| ... } ⇒ Object
19 20 21 22 |
# File 'lib/usps/jwt_auth.rb', line 19 def configure yield(configuration) if block_given? configuration end |