pwd_parse: Helper Function to Parse a String to be Used as a...

Description Usage Arguments Note Author(s) Examples

Description

Converts a string of length 1 or of length 2 into a list that can then be passed on to the authenticate function from the "httr" package.

Usage

1

Arguments

...

A single string, character vetor, or list containing the username and password that should be used. If it is a single string, it should be in the form of "username:password".

Note

This function is not intended to be called directly. It is used in other functions.

Author(s)

Ananda Mahto

Examples

1
2
3
4
5
6
## Not run: 
pwd_parse("username", "password")
pwd_parse("username:password")
pwd_parse(c("username", "password"))

## End(Not run)

karpadev/kobo-for-shinyio documentation built on May 13, 2019, 6:14 p.m.