FirebaseAuth constructor
FirebaseAuth(
- String apiKey,
- TokenStore tokenStore, {
- Client? httpClient,
Implementation
FirebaseAuth(this.apiKey, TokenStore tokenStore, {http.Client? httpClient})
: assert(apiKey.isNotEmpty),
httpClient = httpClient ?? http.Client() {
var keyClient = KeyClient(this.httpClient, apiKey);
tokenProvider = TokenProvider(keyClient, tokenStore);
_authGateway = AuthGateway(keyClient, tokenProvider);
_userGateway = UserGateway(keyClient, tokenProvider);
}