check_for_authentication | R Documentation |
Check that the API pass key is specified. It looks for the API key from the
r
environment
, if not supplied, otherwise throws an error.
check_for_authentication(user = NULL, pass = NULL)
user |
A DHIS2 user account to authenticate. |
pass |
Password of the DHIS2 Account. |
A list with API key (user and pass) if found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.