creds function

Get or remove user authentication credentials

Get or remove user authentication credentials

authentication credentials appear before the domain name and look like user:password. Sometimes you want the removed, or retrieved; strip_credentials and get_credentials do precisely that

strip_credentials(urls) get_credentials(urls)

Arguments

  • urls: a URL, or vector of URLs

Examples

# Remove credentials strip_credentials("http://foo:bar@97.77.104.22:3128") # Get credentials get_credentials("http://foo:bar@97.77.104.22:3128")
  • Maintainer: Os Keyes
  • License: MIT + file LICENSE
  • Last published: 2019-04-14