Sha256: fb8c1c76d460e00ce5e0f28428c72f79e694b3732ed1a5046dcb4e0d0f28197b
Contents?: true
Size: 937 Bytes
Versions: 23
Compression:
Stored size: 937 Bytes
Contents
module Rack module OAuth2 module Server class Authorize module Extension class IdToken < Abstract::Handler class << self def response_type_for?(response_type) response_type == 'id_token' end end def _call(env) @request = Request.new env @response = Response.new request super end class Request < Authorize::Request def initialize(env) super @response_type = :id_token attr_missing! end def error_params_location :fragment end end class Response < Authorize::Response include IdTokenResponse attr_required :id_token end end end end end end end
Version data entries
23 entries across 23 versions & 2 rubygems