Class: Warden::OAuth2::Strategies::ResourceOwnerPasswordCredentials
- Defined in:
- lib/warden/oauth2/strategies/resource_owner_password_credentials.rb
Instance Attribute Summary
Attributes inherited from Client
#client, #client_id, #client_secret
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Client
#authenticate!, #client_from_http_basic, #client_from_request_params, #error_status, #public_client?
Methods inherited from Base
Instance Method Details
#valid? ⇒ Boolean
7 8 9 |
# File 'lib/warden/oauth2/strategies/resource_owner_password_credentials.rb', line 7 def valid? params['grant_type'] == 'password' end |