Skip to content

Conversation

@hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented Mar 17, 2020

Added get_tenant() and delete_tenant() APIs. API proposal for this is still under review (go/firebase-mt-py). Just taking a head start with the implementation here.

Note: PR made against a new multitenancy base branch.

Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hiranya911 hiranya911 merged commit 11b5a6b into multitenancy Mar 20, 2020
@hiranya911 hiranya911 deleted the hkj-tenant-mgt branch March 20, 2020 18:00
hiranya911 added a commit that referenced this pull request Apr 27, 2020
* feat(auth): APIs for retrieving and deleting tenants (#422) * feat(auth): Added Tenant class and get_tenant() API * Added delete_tenant() API * Added delete_tenant to _all_ list * Fixing a lint error * Fixing a lint error * Added create_tenant() and update_tenant() APIs (#424) * Create tenant API * Added update tenant API * Added docstring to fix lint error * Added list_tenants() API (#429) * Added list_tenants() API * Update firebase_admin/tenant_mgt.py Co-Authored-By: Lahiru Maramba <llahiru@gmail.com> * Updated error message Co-authored-by: Lahiru Maramba <llahiru@gmail.com> * Moved all public auth APIs to _AuthClient (#430) * Tenant-scoped user management operations (#431) * Adding tenant_mgt.auth_for_tenant() API * Added more tenant-aware user mgt tests * Full test coverage for tenant-aware user mgt APIs * Updated docstring to fix lint error * Removed unused var; Fixing lint error * Tenant-aware ID token verification support (#432) * Tenant-aware ID token verification support * Extended InvalidArgumentError in TenantIdMismatchError * Fixing lint errors * Added tenant-scoped custom token support (#433) * Added tenant-scoped custom token support * Fixed a lint error; Improved test assertion * Renamed _AuthService to Client (#436) * Renamed _AuthService to Client * Renamed some local variables for consistency * Added documentation to Client APIs * Fixed doc lint error * feat(auth): Adding SAMLProviderConfig type and the getter method (#437) * feat(auth): Adding SAMLProviderConfig type and the getter method * Added ConfigurationNotFoundError type * Fixing a lint error related to super delegation * feat(auth): Added create and update APIs for SAMLProviderConfig (#440) * feat(auth): Added create_saml_provider_config() API * Added update_saml_provider_config() API * Moved auth.Client to a separate submodule * Moved auth.Client; Updated docs * feat(auth): Added delete and list APIs for SAMLProviderConfig (#441) * feat(auth): Added delete_saml_provider_config() API * Preliminary list provider config impl * Refactored the common paging logic into base classes * Added more tests for list API * feat(auth): Added OIDCProviderConfig type and get/delete APIs (#442) * feat(auth): Added OIDCProviderConfig type and get/delete APIs * Added newline to eof * OIDCProviderConfig create/update APIs (#443) * feat(auth): Added list_oidc_provider_configs() API (#444) * fix(auth): Integration tests for multi-tenancy and IdP management APIs (#446) * fix(auth): Integration tests for IdP management APIs * More integration tests for tenant_mgt module; Made display_name required for tenants * Integration tests for tenant-aware IdP management * Fixing lint error; Added unit test for UserRecord.tenant_id * Trigger staging * Added unit tests for tenant names longer than 20 chars * Updated API reference docs * fix(auth): Snippets for multi-tenancy and IdP management APIs (#455) Co-authored-by: Lahiru Maramba <llahiru@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants