Class: Devise::Strategies::PasskeyReauthentication
- Inherits:
-
PasskeyAuthenticatable
- Object
- Authenticatable
- PasskeyAuthenticatable
- Devise::Strategies::PasskeyReauthentication
- Defined in:
- lib/devise/passkeys/reauthentication_strategy.rb
Instance Method Summary collapse
- #authentication_challenge_key ⇒ Object
-
#clean_up_csrf? ⇒ Boolean
Reauthentication runs through Authentication (user_set) as part of its cycle, which would normally reset CSRF data in the session.
Methods inherited from PasskeyAuthenticatable
#authenticate!, #credential_finder, #raw_credential, #record_passkey_use, #store?, #valid?
Instance Method Details
#authentication_challenge_key ⇒ Object
9 10 11 |
# File 'lib/devise/passkeys/reauthentication_strategy.rb', line 9 def authentication_challenge_key "#{mapping.singular}_current_reauthentication_challenge" end |
#clean_up_csrf? ⇒ Boolean
Reauthentication runs through Authentication (user_set) as part of its cycle, which would normally reset CSRF data in the session
16 17 18 |
# File 'lib/devise/passkeys/reauthentication_strategy.rb', line 16 def clean_up_csrf? false end |