Class: RoadForest::HTTP::CredentialSource

Inherits:
Object
  • Object
show all
Defined in:
lib/roadforest/http/keychain.rb

Direct Known Subclasses

PreparedCredentialSource

Instance Method Summary collapse

Instance Method Details

#canonical_root(url) ⇒ Object



14
15
16
17
18
# File 'lib/roadforest/http/keychain.rb', line 14

def canonical_root(url)
  url = Addressable::URI.parse(url)
  url.path = "/"
  url.to_s
end

#respond_to_challenge(url, realm, attempt) ⇒ Object



22
23
24
# File 'lib/roadforest/http/keychain.rb', line 22

def respond_to_challenge(url, realm, attempt)
  nil
end