Class: Doorkeeper::OAuth::ClientCredentials::Validator
- Inherits:
-
Object
- Object
- Doorkeeper::OAuth::ClientCredentials::Validator
- Includes:
- Helpers, Validations
- Defined in:
- lib/doorkeeper/oauth/client_credentials/validator.rb
Instance Attribute Summary
Attributes included from Validations
Instance Method Summary collapse
-
#initialize(server, request) ⇒ Validator
constructor
A new instance of Validator.
Methods included from Validations
Constructor Details
#initialize(server, request) ⇒ Validator
Returns a new instance of Validator.
14 15 16 17 18 19 20 |
# File 'lib/doorkeeper/oauth/client_credentials/validator.rb', line 14 def initialize(server, request) @server = server @request = request @client = request.client validate end |