Sha256: cbb57b1323673107ccd22e2ecc7f4ccc9f0c289e2d010a8eb60a8bb66d5f5d3e
Contents?: true
Size: 834 Bytes
Versions: 21
Compression:
Stored size: 834 Bytes
Contents
module Rack::OAuth2::Server module IdTokenResponse def self.included(klass) klass.send :attr_optional, :id_token klass.class_eval do def protocol_params_location :fragment end def protocol_params_with_id_token protocol_params_without_id_token.merge( id_token: id_token ) end alias_method_chain :protocol_params, :id_token end end end Token::Response.send :include, IdTokenResponse end require 'rack/oauth2/server/authorize/extension/code_and_id_token' require 'rack/oauth2/server/authorize/extension/code_and_token' require 'rack/oauth2/server/authorize/extension/code_and_id_token_and_token' require 'rack/oauth2/server/authorize/extension/id_token' require 'rack/oauth2/server/authorize/extension/id_token_and_token'
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
openid_connect-0.3.4 | lib/rack/oauth2/server/id_token_response.rb |