khis_cred_clear {khisr} | R Documentation |
Clear the Credentials from Memory
Description
This function clears the DHIS2 credentials from memory. If an auth object is
provided, it clears the credentials from that object. If no auth
object is
provided, it clears the global auth credentials.
Usage
khis_cred_clear(auth = NULL)
Arguments
auth |
(Optional) An authentication object from which to clear credentials. If not provided, the credentials in the global auth object will be cleared. |
Value
No return value, called for side effects.
See Also
Other credential functions:
khis_base_url()
,
khis_cred()
,
khis_display_name()
,
khis_has_cred()
,
khis_username()
Examples
# Clear credentials from the global .auth object
khis_cred_clear()
[Package khisr version 1.0.6 Index]