checkAuthAvailable static method
Web only: authenticates the access token and JWT issued by your server.
Implementation
static Future<void> checkAuthAvailable(
String accessToken,
String jwtToken, {
required void Function(dynamic) success,
required void Function(dynamic) error,
}) async {
await AliAuthPlatform.instance
.checkAuthAvailable(accessToken, jwtToken, success, error);
}