basic_auth: Authenticate a User Account to DHIS2

Description Usage Arguments Details Value

View source: R/auth.R

Description

Authenticate an account to a DHIS2 instance.

Usage

1
basic_auth(url = NULL, username = NULL, password = NULL)

Arguments

url

Server url, character string.

username

DHIS2 username or Account name, character string.

password

Password of the DHIS2 account, character string.

Details

dhis_auth supplies an account credentials to a DHIS2 instance for authentication. It returns an S3 object with current information of the account.

Value

An S3 object with the current user information.


INyabuto/dhis2r documentation built on June 14, 2021, 1:15 a.m.