module ActionController::HttpAuthentication::Token::ControllerMethods
def authenticate_with_http_token(&login_procedure)
`login_procedure` if a token is found. Returns `nil` if no token is found.
Authenticate using an HTTP Bearer token. Returns the return value of
def authenticate_with_http_token(&login_procedure) Token.authenticate(self, &login_procedure) end