onSuccess property

void Function(AuthenticationResponse)? onSuccess
getter/setter pair

Called with an AuthenticationResponse when a flow has completed successfully. Typically create a DescopeSession and manage it using Descope.sessionManager

Implementation

void Function(AuthenticationResponse)? onSuccess;