Learn R Programming

git2r (version 0.21.0)

cred_user_pass: Create a new plain-text username and password credential object

Description

Create a new plain-text username and password credential object

Usage

cred_user_pass(username, password)

# S4 method for character,character cred_user_pass(username, password)

Arguments

username

The username of the credential

password

The password of the credential

Value

A S4 cred_user_pass object

See Also

Other git credential functions: cred_env, cred_ssh_key, cred_token

Examples

Run this code
# NOT RUN {
## Create a plain-text username and password credential object
cred_user_pass("Random Developer", "SecretPassword")
# }

Run the code above in your browser using DataLab