@health-samurai/aidbox-client
    Preparing search index...

    Function revokeSession

    • Best-effort revocation of the session's tokens at the server's revocation endpoint.

      No-op if the session has no revocationUri. Errors are swallowed — revocation is best-effort.

      Type Parameters

      Parameters

      • session: SmartSession<TUser>
      • Optionaloptions: { clientSecret?: string }
        • OptionalclientSecret?: string

          Confidential client secret (server-side only). Required when session.usesClientSecret is true.

      Returns Promise<void>