userAuthentication method
If user is not authenticated, shows universal login. Returns user ID of logged in user.
Implementation
Future<dynamic> userAuthentication({
Future<void> Function()? afterLogin,
required String screenHint,
}) async {
return await auth02.loginUser(
auth0Domain: auth0Domain,
auth0ClientId: auth0ClientId,
redirectUri: redirectUri,
scheme: scheme,
screenHint: screenHint
// afterLogin: afterLogin,
);
}