Table of Contents

Namespace Supabase.Gotrue.Interfaces

Interfaces

IGotrueAdminClient<TUser>

Interface for the Gotrue Admin Client (auth).

IGotrueApi<TUser, TSession>
IGotrueClient<TUser, TSession>

GoTrue stateful Client.

This class is best used as a long-lived singleton object in your application. You can attach listeners to be notified of changes to the user log in state, a persistence system for sessions across application launches, and more. It includes a (optional, on by default) background thread that runs to refresh the user's session token.

Check out the test suite for examples of use.

IGotruePersistenceListener<TSession>

Interface for a session persistence auth state handler.

IGotrueSessionPersistence<TSession>

Interface for session persistence. As a reminder, make sure you handle exceptions and other error conditions in your implementation.

IGotrueStatelessClient<TUser, TSession>

A Stateless Gotrue Client

Delegates

IGotrueClient<TUser, TSession>.AuthEventHandler

The method that is called when there is a user state change.