Class: Rack::OAuth2::Server::Authorize::Extension::IdToken

Inherits:
Abstract::Handler
  • Object
show all
Defined in:
lib/rack/oauth2/server/authorize/extension/id_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

Returns:

  • (Boolean)


8
9
10
# File 'lib/rack/oauth2/server/authorize/extension/id_token.rb', line 8

def response_type_for?(response_type)
  response_type == 'id_token'
end

Instance Method Details

#_call(env) ⇒ Object



13
14
15
16
17
# File 'lib/rack/oauth2/server/authorize/extension/id_token.rb', line 13

def _call(env)
  @request  = Request.new env
  @response = Response.new request
  super
end