Invalidates a cached refresh token via the POST /api/v1/auth/user/signout
API endpoint
and clears the associated cache on disk.
Usage
sign_out(
origin = pal::pkg_config_val("origin"),
email = pal::pkg_config_val("email", require = TRUE),
password = pal::pkg_config_val("password"),
api_token = pal::pkg_config_val("api_token"),
quiet = FALSE
)
Arguments
- origin
character(1)
NocoDB server origin.character(1)
E-mail address of the NocoDB user to sign out.- password
character(1)
Password of the NocoDB user to authenticate with.- api_token
character(1)
NocoDB API token. Takes precedence overemail
andpassword
if provided.- quiet
logical(1)
Whether or not to suppress printing status output from internal processing.
Details
Note that the email
address to sign out and the api_token
to authenticate do not necessarily need to belong to the same user.
See also
Other functions to manage NocoDB authentication:
api_tokens()
,
assert_super_admin()
,
create_api_token()
,
delete_api_token()
,
is_signed_in()
,
is_super_admin()
,
refresh_sign_in()
,
req_auth()
,
sign_in()
,
sign_up_user()
Other user:
assert_super_admin()
,
is_signed_in()
,
is_super_admin()
,
refresh_sign_in()
,
sign_in()