• Start

Methods

invalidate

The invalidate() method for the SurrealDB Mojo SDK invalidates the authentication for the current connection.

Invalidates the current session and clears the stored token.

Method Syntax
client.invalidate(session)

Argument

Description

session

An optional session id.

client.invalidate()

Was this page helpful?