Sha256: bf2e21a704d4e7f69b00c28783fedc0264a3d06b8f6c8ee189ba418cf1650ed1

Contents?: true

Size: 494 Bytes

Versions: 37

Compression:

Stored size: 494 Bytes

Contents

module OpenIDConnect
  module Discovery
    module Provider
      class Config
        def self.discover!(identifier, cache_options = {})
          principal = Principal.parse(identifier)
          Resource.new(principal.host).discover!(cache_options)
        rescue SWD::Exception => 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

37 entries across 37 versions & 1 rubygems

Version Path
openid_connect-0.3.3 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.3.2 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.3.1 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.3.0 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.2.4 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.2.3 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.2.2 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.2.1 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.2.0 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.2.0.alpha3 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.2.0.alpha2 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.2.0.alpha lib/openid_connect/discovery/provider/config.rb
openid_connect-0.1.5 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.1.4 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.1.3 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.1.2 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.1.1 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.1.0 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.0.33 lib/openid_connect/discovery/provider/config.rb
openid_connect-0.0.32 lib/openid_connect/discovery/provider/config.rb