Class: Doorkeeper::ClientAuthentication::VerifiedCredentials
- Inherits:
-
Credentials
- Object
- Struct
- Credentials
- Doorkeeper::ClientAuthentication::VerifiedCredentials
- Defined in:
- lib/doorkeeper/client_authentication/verified_credentials.rb
Overview
Credentials for a client that was already fully authenticated by its authentication method (e.g. a verified private_key_jwt assertion), so the client lookup must not run a secret comparison — there is no secret, and the proof of identity has already been checked.
Instance Attribute Summary
Attributes inherited from Credentials
Instance Method Summary collapse
-
#initialize(uid) ⇒ VerifiedCredentials
constructor
A new instance of VerifiedCredentials.
- #pre_authenticated? ⇒ Boolean
Constructor Details
#initialize(uid) ⇒ VerifiedCredentials
Returns a new instance of VerifiedCredentials.
10 11 12 |
# File 'lib/doorkeeper/client_authentication/verified_credentials.rb', line 10 def initialize(uid) super(uid, nil) end |
Instance Method Details
#pre_authenticated? ⇒ Boolean
14 15 16 |
# File 'lib/doorkeeper/client_authentication/verified_credentials.rb', line 14 def pre_authenticated? true end |