Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/dart_firebase_admin/lib/src/app/exception.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ String _platformErrorCodeMessage(String code) {
case 'PERMISSION_DENIED':
return 'Client does not have sufficient permission. This can happen because the OAuth token does not have the right scopes, the client does not have permission, or the API has not been enabled for the client project.';
case 'NOT_FOUND':
return 'Specified resource not found, or the request is rejected due to undisclosed reasons such as whitelisting.';
return 'Specified resource not found, or the request is rejected due to undisclosed reasons such as allow list restrictions.';
case 'CONFLICT':
return 'Concurrency conflict, such as read-modify-write conflict. Only used by a few legacy services. Most services use ABORTED or ALREADY_EXISTS instead of this. Refer to the service-specific documentation to see which one to handle in your code.';
case 'ABORTED':
Expand Down
3 changes: 3 additions & 0 deletions packages/dart_firebase_admin/lib/src/auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ import 'utils/validator.dart';
part 'auth/action_code_settings_builder.dart';
part 'auth/auth.dart';
part 'auth/auth_config.dart';
part 'auth/auth_config_tenant.dart';
part 'auth/auth_exception.dart';
part 'auth/auth_http_client.dart';
part 'auth/auth_request_handler.dart';
part 'auth/base_auth.dart';
part 'auth/identifier.dart';
part 'auth/tenant.dart';
part 'auth/tenant_manager.dart';
part 'auth/token_generator.dart';
part 'auth/token_verifier.dart';
part 'auth/user.dart';
Expand Down
13 changes: 12 additions & 1 deletion packages/dart_firebase_admin/lib/src/auth/auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ class Auth extends _BaseAuth implements FirebaseService {
}
}

// TODO tenantManager
TenantManager? _tenantManager;

/// The [TenantManager] instance associated with the current project.
///
/// This provides tenant management capabilities for multi-tenant applications.
/// Multi-tenancy support requires Google Cloud's Identity Platform (GCIP).
/// To learn more about GCIP, including pricing and features, see the
/// [GCIP documentation](https://cloud.google.com/identity-platform).
TenantManager get tenantManager {
return _tenantManager ??= TenantManager._(app);
}

// TODO projectConfigManager
}
Loading
Loading