Class: Doorkeeper::ClientAuthentication::FallbackMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/doorkeeper/client_authentication/fallback_method.rb

Overview

Used when no registered client authentication method matches the request. It matches everything and authenticates to nothing, mirroring the previous behaviour where an unauthenticated request simply yielded no credentials.

Class Method Summary collapse

Class Method Details

.authenticate(_request) ⇒ Object



14
15
16
# File 'lib/doorkeeper/client_authentication/fallback_method.rb', line 14

def self.authenticate(_request)
  nil
end

.matches_request?(_request) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/doorkeeper/client_authentication/fallback_method.rb', line 10

def self.matches_request?(_request)
  true
end