strip_credentials
From urltools v1.7.3
by Oliver Keyes
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
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")
# }
Community examples
Looks like there are no examples yet.