Module: AuthenticJwt::Grape::AuthMethods
- Defined in:
- lib/authentic_jwt/grape/auth_methods.rb
Instance Attribute Summary collapse
-
#jwt_payload ⇒ Object
Returns the value of attribute jwt_payload.
Instance Method Summary collapse
Instance Attribute Details
#jwt_payload ⇒ Object
Returns the value of attribute jwt_payload.
4 5 6 |
# File 'lib/authentic_jwt/grape/auth_methods.rb', line 4 def jwt_payload @jwt_payload end |
Instance Method Details
#jwt_sub ⇒ Object
6 7 8 9 |
# File 'lib/authentic_jwt/grape/auth_methods.rb', line 6 def jwt_sub return unless jwt_payload jwt_payload.sub end |