strip_credentials

0th

Percentile

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

Usage
strip_credentials(urls)

get_credentials(urls)

Arguments
urls

a URL, or vector of URLs

Aliases
  • strip_credentials
  • creds
  • get_credentials
Examples
# NOT RUN {
# Remove credentials
strip_credentials("http://foo:bar@97.77.104.22:3128")

# Get credentials
get_credentials("http://foo:bar@97.77.104.22:3128")
# }
Documentation reproduced from package urltools, version 1.7.3, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.