SurrealDB Docs Logo

Enter a search query

.Invalidate()

Invalidates the authentication for the current connection.

Method Syntax
await db.Invalidate()

Arguments

PropertiesDescription
cancellationToken optional

The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

await db.Invalidate();

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install