Class: Rack::OAuth2::Server::Authorize::Extension::CodeAndToken
- Inherits:
-
Rack::OAuth2::Server::Abstract::Handler
- Object
- Rack::OAuth2::Server::Abstract::Handler
- Rack::OAuth2::Server::Authorize::Extension::CodeAndToken
- Defined in:
- lib/rack/oauth2/server/authorize/extension/code_and_token.rb
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from Rack::OAuth2::Server::Abstract::Handler
#authenticator, #request, #response
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Rack::OAuth2::Server::Abstract::Handler
Constructor Details
This class inherits a constructor from Rack::OAuth2::Server::Abstract::Handler
Class Method Details
.response_type_for?(response_type) ⇒ Boolean
8 9 10 |
# File 'lib/rack/oauth2/server/authorize/extension/code_and_token.rb', line 8 def response_type_for?(response_type) response_type.split.sort == ['code', 'token'] end |