auth-vir - v1.3.1
    Preparing search index...

    Function parseUserJwt

    • Parses a UserJwtData generated from createUserJwt. This should be used on the host (backend) to a client (frontend) request. Do not use this function in client (frontend) code: it requires JWT signing keys which should not be shared with any client (frontend).

      Parameters

      Returns Promise<undefined | { csrfToken: string; userId: string }>