R: Get or remove user authentication credentials

strip_credentials {urltools} | R Documentation

## Get or remove user authentication credentials

### 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

    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")

[Package urltools version 1.7.3 Index]