mount_devise_token_auth_for
- similar to devise_for
, this method is used to append the routes necessary for user authentication. This method accepts the following arguments:class_name
options
at
param of this object.DeviseTokenAuth::Concerns::User
for authentication to work properly./auth
is used by default to conform with the defaults of the ng-token-auth module and the jToker plugin.