Skip to main content

Type Alias: OnLoginSuccess()

OnLoginSuccess = (user) => void

Callback function triggered after successful user authentication.

This type defines the signature for handler functions that are called after a user successfully logs in. It receives a user data object containing the full profile and authentication details of the authenticated user.

Parameters

user

UserData

The authenticated user's data including profile and auth details

Returns

void