Authenticate a user
Arguments
- user
Character. User name to log in with.
- pass
Character. App password to log in with.
- save_auth
Logical. Should the authentication information be saved? If
TRUE
, it tries to reload from the cache. If a file is over 10 minutes old, it will not be read. Setsave_auth = NULL
to force the token to refresh and save the results.
Examples
if (FALSE) { # has_bluesky_pass() && has_bluesky_user()
bs_auth(user = get_bluesky_user(), pass = get_bluesky_pass())
}