feat(console): azure ad provider (#5440)

azure ad provider for console
This commit is contained in:
Max Peintner
2023-03-15 13:53:50 +01:00
committed by GitHub
parent a7f65ccb35
commit bc116247ea
25 changed files with 765 additions and 30 deletions

View File

@@ -6,6 +6,8 @@ import {
ActivateLabelPolicyResponse,
ActivateSMSProviderRequest,
ActivateSMSProviderResponse,
AddAzureADProviderRequest,
AddAzureADProviderResponse,
AddCustomDomainPolicyRequest,
AddCustomOrgIAMPolicyResponse,
AddGenericOAuthProviderRequest,
@@ -200,6 +202,8 @@ import {
SetSecurityPolicyResponse,
SetUpOrgRequest,
SetUpOrgResponse,
UpdateAzureADProviderRequest,
UpdateAzureADProviderResponse,
UpdateCustomDomainPolicyRequest,
UpdateCustomDomainPolicyResponse,
UpdateDomainPolicyRequest,
@@ -914,6 +918,14 @@ export class AdminService {
// idp templates
public addAzureADProvider(req: AddAzureADProviderRequest): Promise<AddAzureADProviderResponse.AsObject> {
return this.grpcService.admin.addAzureADProvider(req, null).then((resp) => resp.toObject());
}
public updateAzureADProvider(req: UpdateAzureADProviderRequest): Promise<UpdateAzureADProviderResponse.AsObject> {
return this.grpcService.admin.updateAzureADProvider(req, null).then((resp) => resp.toObject());
}
public addGoogleProvider(req: AddGoogleProviderRequest): Promise<AddGoogleProviderResponse.AsObject> {
return this.grpcService.admin.addGoogleProvider(req, null).then((resp) => resp.toObject());
}

View File

@@ -15,6 +15,8 @@ import {
AddAPIAppResponse,
AddAppKeyRequest,
AddAppKeyResponse,
AddAzureADProviderRequest,
AddAzureADProviderResponse,
AddCustomLabelPolicyRequest,
AddCustomLabelPolicyResponse,
AddCustomLockoutPolicyRequest,
@@ -423,6 +425,8 @@ import {
UpdateAPIAppConfigResponse,
UpdateAppRequest,
UpdateAppResponse,
UpdateAzureADProviderRequest,
UpdateAzureADProviderResponse,
UpdateCustomLabelPolicyRequest,
UpdateCustomLabelPolicyResponse,
UpdateCustomLockoutPolicyRequest,
@@ -873,6 +877,14 @@ export class ManagementService {
// idp templates
public addAzureADProvider(req: AddAzureADProviderRequest): Promise<AddAzureADProviderResponse.AsObject> {
return this.grpcService.mgmt.addAzureADProvider(req, null).then((resp) => resp.toObject());
}
public updateAzureADProvider(req: UpdateAzureADProviderRequest): Promise<UpdateAzureADProviderResponse.AsObject> {
return this.grpcService.mgmt.updateAzureADProvider(req, null).then((resp) => resp.toObject());
}
public addGoogleProvider(req: AddGoogleProviderRequest): Promise<AddGoogleProviderResponse.AsObject> {
return this.grpcService.mgmt.addGoogleProvider(req, null).then((resp) => resp.toObject());
}