ProviderIdentifier constructor

ProviderIdentifier({
  1. required String providerId,
  2. required String providerUid,
})

Implementation

ProviderIdentifier({required this.providerId, required this.providerUid}) {
  if (providerId.isEmpty) {
    throw FirebaseAuthAdminException(AuthClientErrorCode.invalidProviderId);
  }
  if (providerUid.isEmpty) {
    throw FirebaseAuthAdminException(AuthClientErrorCode.invalidProviderUid);
  }
}