onAuthStateChange property

Stream<AuthState> get onAuthStateChange

A stream of AuthState changes from the Supabase client.

This can be used to react to authentication events like sign-in, sign-out, token refresh, etc., in more detail if needed.

Implementation

Stream<AuthState> get onAuthStateChange =>
    _supabaseClient.auth.onAuthStateChange;