Class: OAuth2c::Grants::ResourceOwnerCredentials

Inherits:
TwoLegged::Base show all
Defined in:
lib/oauth2c/grants/resource_owner_credentials.rb

Instance Attribute Summary

Attributes inherited from TwoLegged::Base

#scope

Instance Method Summary collapse

Methods inherited from TwoLegged::Base

#token, #update_scope

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