Table of Contents

Interface IGotruePersistenceListener<TSession>

Namespace
Supabase.Gotrue.Interfaces
Assembly
Supabase.Gotrue.dll

Interface for a session persistence auth state handler.

public interface IGotruePersistenceListener<TSession> where TSession : Session

Type Parameters

TSession

Properties

Persistence

The persistence implementation for the client (e.g. file system, local storage, etc).

IGotrueSessionPersistence<TSession> Persistence { get; }

Property Value

IGotrueSessionPersistence<TSession>

Methods

EventHandler(IGotrueClient<User, TSession>, AuthState)

Routes auth state changes to the persistence implementation.

void EventHandler(IGotrueClient<User, TSession> sender, Constants.AuthState stateChanged)

Parameters

sender IGotrueClient<User, TSession>
stateChanged Constants.AuthState