AuthStateChangedCallback typedef

AuthStateChangedCallback = void Function(AuthenticationState authenticationState)

Signature for callbacks that respond to authentication changes.

Registered via AuthClient.addAuthStateChangedCallback.

Implementation

typedef AuthStateChangedCallback = void Function(
    AuthenticationState authenticationState);