Class OAuth2::Authenticator
In: lib/oauth2/authenticator.rb
Parent: Object

Methods

Attributes

id  [R] 
mode  [R] 
secret  [R] 

Public Class methods

Public Instance methods

Apply the request credentials used to authenticate to the Authorization Server

Depending on configuration, this might be as request params or as an Authorization header.

User-provided params and header take precedence.

@param [Hash] params a Hash of params for the token endpoint @return [Hash] params amended with appropriate authentication details

[Validate]