Class: RailsIam::Authentication::CookieExtractor
- Inherits:
-
RailsIamService
- Object
- ApplicationService
- RailsIamService
- RailsIam::Authentication::CookieExtractor
- Defined in:
- app/services/rails_iam/authentication/token_extractor.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(request) ⇒ CookieExtractor
constructor
A new instance of CookieExtractor.
Methods inherited from RailsIamService
Methods included from ConfigLoader
#authentication_strategies, #authorization_rule_error, #cookie_options, #jwt_algorithm, #jwt_audience, #jwt_expiry, #jwt_issuer, #jwt_secret_key, #refresh_token_transport, #session_strategy, #user_class
Constructor Details
#initialize(request) ⇒ CookieExtractor
Returns a new instance of CookieExtractor.
6 7 8 9 |
# File 'app/services/rails_iam/authentication/token_extractor.rb', line 6 def initialize(request) super() @request = request end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'app/services/rails_iam/authentication/token_extractor.rb', line 11 def call request..encrypted[access_token_key] end |