FirebaseProjectAuth constructor
FirebaseProjectAuth({
- required ProjectAuthConfig config,
- required FirebaseAuth auth,
- Client? client,
- KeyValueCache? cache,
- Duration claimsPropagationTimeout = const Duration(seconds: 30),
- Duration claimsPollInterval = const Duration(seconds: 2),
- int claimsReverifyEvery = 3,
- Duration restoreTimeout = const Duration(seconds: 3),
- bool? claimsFromToken,
- void onError(
- Object error,
- StackTrace stack
Implementation
FirebaseProjectAuth({
required this.config,
required this.auth,
http.Client? client,
KeyValueCache? cache,
this.claimsPropagationTimeout = const Duration(seconds: 30),
this.claimsPollInterval = const Duration(seconds: 2),
this.claimsReverifyEvery = 3,
this.restoreTimeout = const Duration(seconds: 3),
bool? claimsFromToken,
this.onError,
}) : client = client ?? http.Client(),
cache = cache ?? MemoryKeyValueCache(),
claimsFromToken = claimsFromToken ?? (!kIsWeb && defaultTargetPlatform == TargetPlatform.windows);