Class: Rack::OAuth2::Server::Authorize::Extension::CodeAndIdTokenAndToken
- Inherits:
-
Abstract::Handler
- Object
- Abstract::Handler
- Rack::OAuth2::Server::Authorize::Extension::CodeAndIdTokenAndToken
show all
- Defined in:
- lib/rack/oauth2/server/authorize/extension/code_and_id_token_and_token.rb
Defined Under Namespace
Classes: Request, Response
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.response_type_for?(response_type) ⇒ Boolean
8
9
10
|
# File 'lib/rack/oauth2/server/authorize/extension/code_and_id_token_and_token.rb', line 8
def response_type_for?(response_type)
response_type.split.sort == ['code', 'id_token', 'token']
end
|
Instance Method Details
#_call(env) ⇒ Object
13
14
15
16
17
|
# File 'lib/rack/oauth2/server/authorize/extension/code_and_id_token_and_token.rb', line 13
def _call(env)
@request = Request.new env
@response = Response.new request
super
end
|