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(
hostname = pal::pkg_config_val("hostname"),
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
- hostname
NocoDB server hostname. A character scalar.
E-mail address of the NocoDB user to sign out. A character scalar.
- password
Password of the NocoDB user to authenticate with.
- api_token
NocoDB API token. Takes precedence over
email
andpassword
if provided.- quiet
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()