Sha256: d6e9be6c632178816b9aeb6736e0aa88383e0124e6cfe145c01adb95e0fd9e20
Contents?: true
Size: 602 Bytes
Versions: 23
Compression:
Stored size: 602 Bytes
Contents
module OpenIDConnect module Discovery module Provider class Config def self.discover!(identifier, cache_options = {}) uri = URI.parse(identifier) Resource.new(uri).discover!(cache_options).tap do |response| response.expected_issuer = identifier response.validate! end rescue SWD::Exception, ValidationFailed => e raise DiscoveryFailed.new(e.message) end end end end end require 'openid_connect/discovery/provider/config/resource' require 'openid_connect/discovery/provider/config/response'
Version data entries
23 entries across 23 versions & 1 rubygems