AnonymousAuthController constructor
AnonymousAuthController({
- required ServerpodClientShared client,
- Future<
String?> createAnonymousToken()?, - VoidCallback? onAuthenticated,
- dynamic onError(
- Object error
Creates a new AnonymousAuthController instance.
Implementation
AnonymousAuthController({
required this.client,
this.createAnonymousToken,
this.onAuthenticated,
this.onError,
});