Sha256: f0322e65fbef398e7892594f2b6c8d7dc75020ae7687ff083f3dccdc37b90242

Contents?: true

Size: 697 Bytes

Versions: 15

Compression:

Stored size: 697 Bytes

Contents

module OpenIDConnect
  module Discovery
    module Provider
      class Config
        class Response < SWD::Resource
          include AttrOptional

          attr_reader :raw
          attr_optional :authorization_endpoint, :token_endpoint, :registration_endpoint
          attr_optional :user_info_endpoint, :check_session_endpoint, :refresh_session_endpoint, :end_session_endpoint
          attr_optional :jwk_document, :scopes_supported, :flows_supported, :iso29115_supported

          def initialize(hash)
            optional_attributes.each do |key|
              self.send "#{key}=", hash[key]
            end
            @raw = hash
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
openid_connect-0.0.29 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.28 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.27 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.26 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.25 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.24 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.23 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.22 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.21 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.20 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.19 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.18 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.17 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.16 lib/openid_connect/discovery/provider/config/response.rb
openid_connect-0.0.15 lib/openid_connect/discovery/provider/config/response.rb