• Start

Languages

/

Swift

/

Methods

invalidate

The invalidate() method for the SurrealDB Swift SDK clears the connection's authentication state.

Invalidates the authentication for the current connection.

Method Syntax

try await client.invalidate()
try await client.invalidate()

Was this page helpful?