lib/omni_auth/strategies/saml.rb
# Build a CAS host with protocol and port
#
#
Build a CAS host with protocol and port
Build a CAS host with protocol and port
def cas_url
        extract_url if options['url']
        validate_cas_setup
        @cas_url ||= begin
          uri = Addressable::URI.new
          uri.host = options.host
          uri.scheme = options.ssl ? 'https' : 'http'
          uri.port = options.port
          uri.path = options.path
          uri.to_s
        end
      end
def cas_url extract_url if options [ 'url' ] validate_cas_setup @cas_url ||= begin uri = Addressable :: URI . new uri . host = options . host uri . scheme = options . ssl ? 'https' : 'http' uri . port = options . port uri . path = options . path uri . to_s end end
Build a CAS host with protocol and port
Build a CAS host with protocol and port