Class: OAuth2c::Grants::ResourceOwnerCredentials
- Inherits:
-
TwoLegged::Base
- Object
- TwoLegged::Base
- OAuth2c::Grants::ResourceOwnerCredentials
- Defined in:
- lib/oauth2c/grants/resource_owner_credentials.rb
Instance Attribute Summary
Attributes inherited from TwoLegged::Base
Instance Method Summary collapse
-
#initialize(agent, username:, password:, **opts) ⇒ ResourceOwnerCredentials
constructor
A new instance of ResourceOwnerCredentials.
Methods inherited from TwoLegged::Base
Constructor Details
#initialize(agent, username:, password:, **opts) ⇒ ResourceOwnerCredentials
Returns a new instance of ResourceOwnerCredentials.
18 19 20 21 22 |
# File 'lib/oauth2c/grants/resource_owner_credentials.rb', line 18 def initialize(agent, username:, password:, **opts) super(agent, **opts) @username = username @password = password end |