iya-sts
    Preparing search index...
    tokenFor: (sessionId: unknown) => string = ...

    Type Declaration

      • (sessionId: unknown): string
      • Derives the CSRF token for a session: HMAC-SHA256 of the session id under the cluster's shared CSRF key.

        Parameters

        • sessionId: unknown

          the session id

        Returns string

        the base64url token, or an empty string when there is no session