Method: TwoFactorAuth::AuthenticationsHelper#authentication_request
- Defined in:
- app/helpers/two_factor_auth/authentications_helper.rb
#authentication_request ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'app/helpers/two_factor_auth/authentications_helper.rb', line 25 def authentication_request @authentication_request ||= AuthenticationRequest.new( TwoFactorAuth.trusted_facet_list_url, Registration.key_handle_for_authentication(current_user), user_session['pending_authentication_request_challenge'] ) user_session['pending_authentication_request_challenge'] = @authentication_request.challenge @authentication_request end |