AnonymousIdpConfig constructor

const AnonymousIdpConfig({
  1. BeforeAnonymousAccountCreatedFunction? onBeforeAnonymousAccountCreated,
  2. AfterAnonymousAccountCreatedFunction? onAfterAnonymousAccountCreated,
  3. RateLimit? perIpAddressRateLimit = const RateLimit(maxAttempts: 100, timeframe: Duration(hours: 1)),
})

Creates a new AnonymousIdpConfig.

Implementation

const AnonymousIdpConfig({
  this.onBeforeAnonymousAccountCreated,
  this.onAfterAnonymousAccountCreated,
  this.perIpAddressRateLimit = const RateLimit(
    maxAttempts: 100,
    timeframe: Duration(hours: 1),
  ),
});