method
authenticate_with_http_token
v7.2.3 -
Show latest stable
- Class:
ActionController::HttpAuthentication::Token::ControllerMethods
authenticate_with_http_token(&login_procedure)public
Authenticate using an HTTP Bearer token. Returns the return value of `login_procedure` if a token is found. Returns `nil` if no token is found.
See ActionController::HttpAuthentication::Token for example usage.