class ApiWarden::Authentication::HeaderParams
Public Instance Methods
headers()
click to toggle source
# File lib/api_warden/authentication/header_params.rb, line 7 def headers request.headers end
retrieve_access_token()
click to toggle source
# File lib/api_warden/authentication/header_params.rb, line 15 def retrieve_access_token @access_token ||= headers["X-#{scope.name.camelize}-Access-Token"] end
retrieve_id()
click to toggle source
# File lib/api_warden/authentication/header_params.rb, line 11 def retrieve_id @id ||= headers["X-#{scope.name.camelize}-Id"] end
retrieve_refresh_token()
click to toggle source
# File lib/api_warden/authentication/header_params.rb, line 19 def retrieve_refresh_token @refresh_token ||= headers["X-#{scope.name.camelize}-Refresh-Token"] end