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