Module: JWTSessions::RailsAuthorization

Includes:
Authorization
Defined in:
lib/jwt_sessions/rails_authorization.rb

Constant Summary

Constants included from Authorization

Authorization::CSRF_SAFE_METHODS, Authorization::TOKEN_TYPES

Instance Method Summary collapse

Instance Method Details

#request_cookiesObject



15
16
17
# File 'lib/jwt_sessions/rails_authorization.rb', line 15

def request_cookies
  request.cookie_jar
end

#request_headersObject



6
7
8
# File 'lib/jwt_sessions/rails_authorization.rb', line 6

def request_headers
  request.headers
end

#request_methodObject



19
20
21
# File 'lib/jwt_sessions/rails_authorization.rb', line 19

def request_method
  request.method
end