creds: Get or remove user authentication credentials

Description Usage Arguments Examples

Description

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

1
2
3

Arguments

urls

a URL, or vector of URLs

Examples

1
2
3
4
5
# Remove credentials
strip_credentials("http://foo:[email protected]:3128")

# Get credentials
get_credentials("http://foo:[email protected]:3128")

Ironholds/urltools documentation built on Aug. 2, 2018, 3:53 a.m.