AnonymousAuthController constructor

AnonymousAuthController({
  1. required ServerpodClientShared client,
  2. Future<String?> createAnonymousToken()?,
  3. VoidCallback? onAuthenticated,
  4. dynamic onError(
    1. Object error
    )?,
})

Creates a new AnonymousAuthController instance.

Implementation

AnonymousAuthController({
  required this.client,
  this.createAnonymousToken,
  this.onAuthenticated,
  this.onError,
});