Called on successful sign-in.
Provides the newly created Session.
final void Function(Session session)? onSuccess;