Class: Rack::OAuth2::Server::Token::Password::Request
- Inherits:
-
Request
- Object
- Request
- Abstract::Request
- Request
- Rack::OAuth2::Server::Token::Password::Request
- Defined in:
- lib/rack/oauth2/server/token/password.rb
Instance Method Summary collapse
-
#initialize(env) ⇒ Request
constructor
A new instance of Request.
Methods inherited from Abstract::Request
Constructor Details
#initialize(env) ⇒ Request
Returns a new instance of Request.
15 16 17 18 19 20 21 |
# File 'lib/rack/oauth2/server/token/password.rb', line 15 def initialize(env) super @grant_type = :password @username = params['username'] @password = params['password'] attr_missing! end |