class ActionDispatch::Routing::Mapper

Routes to register U2F devices and to authenticate with a U2F device

Public Instance Methods

devise_fido_usf_authentication(mapping, controllers) click to toggle source
# File lib/devise_fido_usf/routes.rb, line 14
def devise_fido_usf_authentication(mapping, controllers)
  resource :fido_usf_authentication,
           only: %i[new create],
           path: mapping.path_names[:fido_usf_authentication],
           controller: controllers[:fido_usf_authentications]
end
devise_fido_usf_registration(mapping, controllers) click to toggle source
# File lib/devise_fido_usf/routes.rb, line 7
def devise_fido_usf_registration(mapping, controllers)
  resource :fido_usf_registration,
           only: %i[show new create update destroy],
           path: mapping.path_names[:fido_usf_registration],
           controller: controllers[:fido_usf_registrations]
end