method
authenticate_with_http_token
rails 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.