auth_basic: Generate Basic authentication strings

View source: R/utils.R

auth_basicR Documentation

Generate Basic authentication strings

Description

Combine usernames with passwords with colons, and generate base64-encoded strings to be used for user authentication.

Usage

auth_basic(user, password)

Arguments

user

A vector of usernames.

password

A vector of passwords.

Value

A character vector of encoded credentials.

Examples

servr::auth_basic("foo", "B@R")

servr documentation built on Oct. 5, 2024, 1:06 a.m.

Related to auth_basic in servr...