Class: ActionHook::Security::Authentication::BearerToken

Inherits:
Token
  • Object
show all
Defined in:
lib/actionhook/security/authentication.rb

Instance Attribute Summary

Attributes inherited from Token

#token

Instance Method Summary collapse

Methods inherited from Token

#initialize

Methods inherited from Base

#to_h

Constructor Details

This class inherits a constructor from ActionHook::Security::Authentication::Token

Instance Method Details

#header_valueObject



27
28
29
# File 'lib/actionhook/security/authentication.rb', line 27

def header_value
  "Bearer #{token}"
end