set_token {rcites} | R Documentation |
Login helper function
Description
Set and forget the authentification token for the current session.
Usage
set_token(token = NULL)
forget_token()
Arguments
token |
a character string (with quotes) containing your token. If
|
Functions
-
set_token()
: set the environment variableSPECIESPLUS_TOKEN
. -
forget_token()
: forget the environment variableSPECIESPLUS_TOKEN
.
References
https://api.speciesplus.net/documentation
Examples
## Not run:
# NB: the token below is not working and should not be used
set_token("8QW6Qgh57sBG2k0gtt")
## End(Not run)
[Package rcites version 1.3.0 Index]