lib/openid_connect/discovery/provider/config/response.rb in openid_connect-0.0.29 vs lib/openid_connect/discovery/provider/config/response.rb in openid_connect-0.0.30
- old
+ new
@@ -4,12 +4,14 @@
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
+ attr_optional :version, :issuer
+ attr_optional :authorization_endpoint, :token_endpoint, :user_info_endpoint
+ attr_optional :check_id_endpoint, :refresh_session_endpoint, :end_session_endpoint
+ attr_optional :jwk_document, :x509_url, :registration_endpoint
+ attr_optional :scopes_supported, :flows_supported, :iso29115_supported, :identifiers_supported
def initialize(hash)
optional_attributes.each do |key|
self.send "#{key}=", hash[key]
end
\ No newline at end of file