SurrealDB
SurrealDB Docs Logo

Enter a search query

Navigation

.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();
Edit this page on GitHub