mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-13 01:25:11 +00:00
fix(console): table pagination, diverse optimizations, lint workspace (#1563)
* show app redirect issues, action layout * refactor pagination * tos, privacy * new paginator everywhere * layout width and table optim * lint pt1 * lint config, ts * stylelint * chore(deps-dev): bump @angular/cli from 11.2.7 to 11.2.8 in /console (#1566) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps-dev): bump @angular/cli from 11.2.7 to 11.2.8 in /console Bumps [@angular/cli](https://github.com/angular/angular-cli) from 11.2.7 to 11.2.8. - [Release notes](https://github.com/angular/angular-cli/releases) - [Commits](https://github.com/angular/angular-cli/compare/v11.2.7...v11.2.8) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump jasmine-spec-reporter from 6.0.0 to 7.0.0 in /console (#1573) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps-dev): bump jasmine-spec-reporter in /console Bumps [jasmine-spec-reporter](https://github.com/bcaudan/jasmine-spec-reporter) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/bcaudan/jasmine-spec-reporter/releases) - [Changelog](https://github.com/bcaudan/jasmine-spec-reporter/blob/master/CHANGELOG.md) - [Commits](https://github.com/bcaudan/jasmine-spec-reporter/compare/v6.0.0...v7.0.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @angular-devkit/build-angular from 0.1102.7 to 0.1102.8 in /console (#1574) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps-dev): bump @angular-devkit/build-angular in /console Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1102.7 to 0.1102.8. - [Release notes](https://github.com/angular/angular-cli/releases) - [Commits](https://github.com/angular/angular-cli/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> * chore(deps): bump @types/file-saver from 2.0.1 to 2.0.2 in /console (#1576) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps): bump @types/file-saver from 2.0.1 to 2.0.2 in /console Bumps [@types/file-saver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/file-saver) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/file-saver) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @angular/language-service from 11.2.8 to 11.2.9 in /console (#1567) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps-dev): bump @angular/language-service in /console Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service) from 11.2.8 to 11.2.9. - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/11.2.9/packages/language-service) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update protobuf, libphone * chore(deps): bump rxjs from 6.6.3 to 6.6.7 in /console (#1488) Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.6.3 to 6.6.7. - [Release notes](https://github.com/reactivex/rxjs/releases) - [Changelog](https://github.com/ReactiveX/rxjs/blob/6.6.7/CHANGELOG.md) - [Commits](https://github.com/reactivex/rxjs/compare/6.6.3...6.6.7) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/jasmine from 3.6.3 to 3.6.9 in /console (#1485) Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.6.3 to 3.6.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> * chore(deps-dev): bump jasmine-core from 3.6.0 to 3.7.1 in /console (#1445) Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 3.6.0 to 3.7.1. - [Release notes](https://github.com/jasmine/jasmine/releases) - [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md) - [Commits](https://github.com/jasmine/jasmine/compare/v3.6.0...v3.7.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Livio Amstutz
parent
b0681a0bbe
commit
56b527060b
@@ -123,15 +123,17 @@ export class AdminService {
|
||||
|
||||
public listLoginPolicyMultiFactors(): Promise<ListLoginPolicyMultiFactorsResponse.AsObject> {
|
||||
const req = new ListLoginPolicyMultiFactorsRequest();
|
||||
return this.grpcService.admin.listLoginPolicyMultiFactors(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.listLoginPolicyMultiFactors(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addMultiFactorToLoginPolicy(req: AddMultiFactorToLoginPolicyRequest): Promise<AddMultiFactorToLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.addMultiFactorToLoginPolicy(req, null).then(resp => resp.toObject());;
|
||||
public addMultiFactorToLoginPolicy(req: AddMultiFactorToLoginPolicyRequest):
|
||||
Promise<AddMultiFactorToLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.addMultiFactorToLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public removeMultiFactorFromLoginPolicy(req: RemoveMultiFactorFromLoginPolicyRequest): Promise<RemoveMultiFactorFromLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.removeMultiFactorFromLoginPolicy(req, null).then(resp => resp.toObject());;
|
||||
public removeMultiFactorFromLoginPolicy(req: RemoveMultiFactorFromLoginPolicyRequest):
|
||||
Promise<RemoveMultiFactorFromLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.removeMultiFactorFromLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listLoginPolicySecondFactors(): Promise<ListLoginPolicySecondFactorsResponse.AsObject> {
|
||||
@@ -139,34 +141,36 @@ export class AdminService {
|
||||
return this.grpcService.admin.listLoginPolicySecondFactors(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addSecondFactorToLoginPolicy(req: AddSecondFactorToLoginPolicyRequest): Promise<AddSecondFactorToLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.addSecondFactorToLoginPolicy(req, null).then(resp => resp.toObject());;
|
||||
public addSecondFactorToLoginPolicy(req: AddSecondFactorToLoginPolicyRequest):
|
||||
Promise<AddSecondFactorToLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.addSecondFactorToLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public removeSecondFactorFromLoginPolicy(req: RemoveSecondFactorFromLoginPolicyRequest): Promise<RemoveSecondFactorFromLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.removeSecondFactorFromLoginPolicy(req, null).then(resp => resp.toObject());;
|
||||
public removeSecondFactorFromLoginPolicy(req: RemoveSecondFactorFromLoginPolicyRequest):
|
||||
Promise<RemoveSecondFactorFromLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.removeSecondFactorFromLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listIAMMemberRoles(): Promise<ListIAMMemberRolesResponse.AsObject> {
|
||||
const req = new ListIAMMemberRolesRequest();
|
||||
return this.grpcService.admin.listIAMMemberRoles(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.listIAMMemberRoles(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listViews(): Promise<ListViewsResponse.AsObject> {
|
||||
const req = new ListViewsRequest();
|
||||
return this.grpcService.admin.listViews(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.listViews(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listFailedEvents(): Promise<ListFailedEventsResponse.AsObject> {
|
||||
const req = new ListFailedEventsRequest();
|
||||
return this.grpcService.admin.listFailedEvents(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.listFailedEvents(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public clearView(viewname: string, db: string): Promise<ClearViewResponse.AsObject> {
|
||||
const req = new ClearViewRequest();
|
||||
req.setDatabase(db);
|
||||
req.setViewName(viewname);
|
||||
return this.grpcService.admin.clearView(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.clearView(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public removeFailedEvent(viewname: string, db: string, sequence: number): Promise<RemoveFailedEventResponse.AsObject> {
|
||||
@@ -174,7 +178,7 @@ export class AdminService {
|
||||
req.setDatabase(db);
|
||||
req.setViewName(viewname);
|
||||
req.setFailedSequence(sequence);
|
||||
return this.grpcService.admin.removeFailedEvent(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.removeFailedEvent(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
// Features
|
||||
@@ -210,7 +214,7 @@ export class AdminService {
|
||||
|
||||
public getPasswordComplexityPolicy(): Promise<GetPasswordComplexityPolicyResponse.AsObject> {
|
||||
const req = new GetPasswordComplexityPolicyRequest();
|
||||
return this.grpcService.admin.getPasswordComplexityPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.getPasswordComplexityPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updatePasswordComplexityPolicy(
|
||||
@@ -226,7 +230,7 @@ export class AdminService {
|
||||
req.setHasNumber(hasNumber);
|
||||
req.setHasSymbol(hasSymbol);
|
||||
req.setMinLength(minLength);
|
||||
return this.grpcService.admin.updatePasswordComplexityPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updatePasswordComplexityPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
/* age */
|
||||
@@ -234,7 +238,7 @@ export class AdminService {
|
||||
public getPasswordAgePolicy(): Promise<GetPasswordAgePolicyResponse.AsObject> {
|
||||
const req = new GetPasswordAgePolicyRequest();
|
||||
|
||||
return this.grpcService.admin.getPasswordAgePolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.getPasswordAgePolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updatePasswordAgePolicy(
|
||||
@@ -245,14 +249,14 @@ export class AdminService {
|
||||
req.setMaxAgeDays(maxAgeDays);
|
||||
req.setExpireWarnDays(expireWarnDays);
|
||||
|
||||
return this.grpcService.admin.updatePasswordAgePolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updatePasswordAgePolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
/* lockout */
|
||||
|
||||
public getPasswordLockoutPolicy(): Promise<GetPasswordLockoutPolicyResponse.AsObject> {
|
||||
const req = new GetPasswordLockoutPolicyRequest();
|
||||
return this.grpcService.admin.getPasswordLockoutPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.getPasswordLockoutPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updatePasswordLockoutPolicy(
|
||||
@@ -263,7 +267,7 @@ export class AdminService {
|
||||
req.setMaxAttempts(maxAttempts);
|
||||
req.setShowLockoutFailure(showLockoutFailures);
|
||||
|
||||
return this.grpcService.admin.updatePasswordLockoutPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updatePasswordLockoutPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
/* label */
|
||||
@@ -274,7 +278,7 @@ export class AdminService {
|
||||
}
|
||||
|
||||
public updateLabelPolicy(req: UpdateLabelPolicyRequest): Promise<UpdateLabelPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.updateLabelPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updateLabelPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
/* login */
|
||||
@@ -282,11 +286,11 @@ export class AdminService {
|
||||
public getLoginPolicy(
|
||||
): Promise<GetLoginPolicyResponse.AsObject> {
|
||||
const req = new GetLoginPolicyRequest();
|
||||
return this.grpcService.admin.getLoginPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.getLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateLoginPolicy(req: UpdateLoginPolicyRequest): Promise<UpdateLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.admin.updateLoginPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updateLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
/* org iam */
|
||||
@@ -294,7 +298,7 @@ export class AdminService {
|
||||
public getCustomOrgIAMPolicy(orgId: string): Promise<GetCustomOrgIAMPolicyResponse.AsObject> {
|
||||
const req = new GetCustomOrgIAMPolicyRequest();
|
||||
req.setOrgId(orgId);
|
||||
return this.grpcService.admin.getCustomOrgIAMPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.getCustomOrgIAMPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addCustomOrgIAMPolicy(
|
||||
@@ -304,7 +308,7 @@ export class AdminService {
|
||||
req.setOrgId(orgId);
|
||||
req.setUserLoginMustBeDomain(userLoginMustBeDomain);
|
||||
|
||||
return this.grpcService.admin.addCustomOrgIAMPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.addCustomOrgIAMPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateCustomOrgIAMPolicy(
|
||||
@@ -313,7 +317,7 @@ export class AdminService {
|
||||
const req = new UpdateCustomOrgIAMPolicyRequest();
|
||||
req.setOrgId(orgId);
|
||||
req.setUserLoginMustBeDomain(userLoginMustBeDomain);
|
||||
return this.grpcService.admin.updateCustomOrgIAMPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updateCustomOrgIAMPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public resetCustomOrgIAMPolicyToDefault(
|
||||
@@ -321,20 +325,20 @@ export class AdminService {
|
||||
): Promise<ResetCustomOrgIAMPolicyToDefaultResponse.AsObject> {
|
||||
const req = new ResetCustomOrgIAMPolicyToDefaultRequest();
|
||||
req.setOrgId(orgId);
|
||||
return this.grpcService.admin.resetCustomOrgIAMPolicyToDefault(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.resetCustomOrgIAMPolicyToDefault(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
/* admin iam */
|
||||
|
||||
public getOrgIAMPolicy(): Promise<GetOrgIAMPolicyResponse.AsObject> {
|
||||
const req = new GetOrgIAMPolicyRequest();
|
||||
return this.grpcService.admin.getOrgIAMPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.getOrgIAMPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateOrgIAMPolicy(userLoginMustBeDomain: boolean): Promise<UpdateOrgIAMPolicyResponse.AsObject> {
|
||||
const req = new UpdateOrgIAMPolicyRequest();
|
||||
req.setUserLoginMustBeDomain(userLoginMustBeDomain);
|
||||
return this.grpcService.admin.updateOrgIAMPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updateOrgIAMPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
/* policies end */
|
||||
@@ -342,13 +346,13 @@ export class AdminService {
|
||||
public addIDPToLoginPolicy(idpId: string): Promise<AddIDPToLoginPolicyResponse.AsObject> {
|
||||
const req = new AddIDPToLoginPolicyRequest();
|
||||
req.setIdpId(idpId);
|
||||
return this.grpcService.admin.addIDPToLoginPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.addIDPToLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public removeIDPFromLoginPolicy(idpId: string): Promise<RemoveIDPFromLoginPolicyResponse.AsObject> {
|
||||
const req = new RemoveIDPFromLoginPolicyRequest();
|
||||
req.setIdpId(idpId);
|
||||
return this.grpcService.admin.removeIDPFromLoginPolicy(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.removeIDPFromLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listLoginPolicyIDPs(limit?: number, offset?: number): Promise<ListLoginPolicyIDPsResponse.AsObject> {
|
||||
@@ -361,7 +365,7 @@ export class AdminService {
|
||||
query.setOffset(offset);
|
||||
}
|
||||
req.setQuery(query);
|
||||
return this.grpcService.admin.listLoginPolicyIDPs(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.listLoginPolicyIDPs(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listIDPs(
|
||||
@@ -382,7 +386,7 @@ export class AdminService {
|
||||
req.setQueriesList(queriesList);
|
||||
}
|
||||
req.setQuery(query);
|
||||
return this.grpcService.admin.listIDPs(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.listIDPs(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public getIDPByID(
|
||||
@@ -390,25 +394,25 @@ export class AdminService {
|
||||
): Promise<GetIDPByIDResponse.AsObject> {
|
||||
const req = new GetIDPByIDRequest();
|
||||
req.setId(id);
|
||||
return this.grpcService.admin.getIDPByID(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.getIDPByID(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateIDP(
|
||||
req: UpdateIDPRequest,
|
||||
): Promise<UpdateIDPResponse.AsObject> {
|
||||
return this.grpcService.admin.updateIDP(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updateIDP(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addOIDCIDP(
|
||||
req: AddOIDCIDPRequest,
|
||||
): Promise<AddOIDCIDPResponse.AsObject> {
|
||||
return this.grpcService.admin.addOIDCIDP(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.addOIDCIDP(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateIDPOIDCConfig(
|
||||
req: UpdateIDPOIDCConfigRequest,
|
||||
): Promise<UpdateIDPOIDCConfigResponse.AsObject> {
|
||||
return this.grpcService.admin.updateIDPOIDCConfig(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updateIDPOIDCConfig(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public removeIDP(
|
||||
@@ -416,7 +420,7 @@ export class AdminService {
|
||||
): Promise<RemoveIDPResponse.AsObject> {
|
||||
const req = new RemoveIDPRequest;
|
||||
req.setIdpId(id);
|
||||
return this.grpcService.admin.removeIDP(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.removeIDP(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public deactivateIDP(
|
||||
@@ -424,7 +428,7 @@ export class AdminService {
|
||||
): Promise<DeactivateIDPResponse.AsObject> {
|
||||
const req = new DeactivateIDPRequest;
|
||||
req.setIdpId(id);
|
||||
return this.grpcService.admin.deactivateIDP(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.deactivateIDP(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public reactivateIDP(
|
||||
@@ -432,7 +436,7 @@ export class AdminService {
|
||||
): Promise<ReactivateIDPResponse.AsObject> {
|
||||
const req = new ReactivateIDPRequest;
|
||||
req.setIdpId(id);
|
||||
return this.grpcService.admin.reactivateIDP(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.reactivateIDP(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listIAMMembers(
|
||||
@@ -453,7 +457,7 @@ export class AdminService {
|
||||
}
|
||||
req.setQuery(metadata);
|
||||
|
||||
return this.grpcService.admin.listIAMMembers(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.listIAMMembers(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public removeIAMMember(
|
||||
@@ -461,7 +465,7 @@ export class AdminService {
|
||||
): Promise<RemoveIAMMemberResponse.AsObject> {
|
||||
const req = new RemoveIAMMemberRequest();
|
||||
req.setUserId(userId);
|
||||
return this.grpcService.admin.removeIAMMember(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.removeIAMMember(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addIAMMember(
|
||||
@@ -472,7 +476,7 @@ export class AdminService {
|
||||
req.setUserId(userId);
|
||||
req.setRolesList(rolesList);
|
||||
|
||||
return this.grpcService.admin.addIAMMember(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.addIAMMember(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateIAMMember(
|
||||
@@ -483,6 +487,6 @@ export class AdminService {
|
||||
req.setUserId(userId);
|
||||
req.setRolesList(rolesList);
|
||||
|
||||
return this.grpcService.admin.updateIAMMember(req, null).then(resp => resp.toObject());;
|
||||
return this.grpcService.admin.updateIAMMember(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user