AnonymousIdpConfig constructor
const
AnonymousIdpConfig({
- BeforeAnonymousAccountCreatedFunction? onBeforeAnonymousAccountCreated,
- AfterAnonymousAccountCreatedFunction? onAfterAnonymousAccountCreated,
- 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),
),
});