@nextcloud/auth
    Preparing search index...

    Function setRequestToken

    • Set a new CSRF token (e.g. because of session refresh). This also emits an event bus event for the updated token.

      Parameters

      • token: string

        The new token

      Returns void

      • If the passed token is not a potential valid token