Skip to contents

Requests a fresh NocoDB access token via the POST /api/v1/auth/token/refresh API endpoint. Requires a valid refresh token cached to disk by sign_in(cache_refresh_token = TRUE).

Usage

refresh_sign_in(
  origin = pal::pkg_config_val("origin"),
  email = pal::pkg_config_val("email", require = TRUE)
)

Arguments

origin

character(1)
NocoDB server origin.

email

character(1)
E-mail address of the NocoDB user whose access token is to be refreshed.

Value

The freshly generated access token as a character scalar, invisibly.

Details

Besides generating a fresh access token, also a new refresh token is cached to disk.

See also