Sha256: baf4edea37426eaaec21e6eb4c0bada942c3667f317022b251a02a61fcf9eb1a
Contents?: true
Size: 964 Bytes
Versions: 23
Compression:
Stored size: 964 Bytes
Contents
module Rack module OAuth2 module Server class Authorize module Extension class CodeAndIdTokenAndToken < Abstract::Handler class << self def response_type_for?(response_type) response_type.split.sort == ['code', 'id_token', 'token'] end end def _call(env) @request = Request.new env @response = Response.new request super end class Request < Authorize::Extension::CodeAndToken::Request def initialize(env) super @response_type = [:code, :id_token, :token] attr_missing! end end class Response < Authorize::Extension::CodeAndToken::Response include IdTokenResponse attr_required :id_token end end end end end end end
Version data entries
23 entries across 23 versions & 2 rubygems