{"version":3,"sources":["node_modules/@vendasta/sso/fesm2020/vendasta-sso.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport * as i1 from '@angular/common/http';\nimport { HttpHeaders } from '@angular/common/http';\nimport { map, share } from 'rxjs/operators';\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ServiceProviderType = /*#__PURE__*/function (ServiceProviderType) {\n ServiceProviderType[ServiceProviderType[\"SERVICE_PROVIDER_TYPE_PRODUCT\"] = 0] = \"SERVICE_PROVIDER_TYPE_PRODUCT\";\n ServiceProviderType[ServiceProviderType[\"SERVICE_PROVIDER_TYPE_PLATFORM\"] = 1] = \"SERVICE_PROVIDER_TYPE_PLATFORM\";\n return ServiceProviderType;\n}(ServiceProviderType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums Index.\n// *********************************\n\nfunction enumStringToValue$7(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Access {\n static fromProto(proto) {\n let m = new Access();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n if (typeof this.public !== 'undefined') {\n toReturn['public'] = this.public;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$6(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ServiceContextAccount {\n static fromProto(proto) {\n let m = new ServiceContextAccount();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountId !== 'undefined') {\n toReturn['accountId'] = this.accountId;\n }\n return toReturn;\n }\n}\nclass AutoImpersonation {\n static fromProto(proto) {\n let m = new AutoImpersonation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass ServiceContextBrand {\n static fromProto(proto) {\n let m = new ServiceContextBrand();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.groupPath !== 'undefined') {\n toReturn['groupPath'] = this.groupPath;\n }\n return toReturn;\n }\n}\nclass NoImpersonation {\n static fromProto(proto) {\n let m = new NoImpersonation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass ServiceContextPartner {\n static fromProto(proto) {\n let m = new ServiceContextPartner();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass ServiceContext {\n static fromProto(proto) {\n let m = new ServiceContext();\n m = Object.assign(m, proto);\n if (proto.account) {\n m.account = ServiceContextAccount.fromProto(proto.account);\n }\n if (proto.partner) {\n m.partner = ServiceContextPartner.fromProto(proto.partner);\n }\n if (proto.superAdmin) {\n m.superAdmin = ServiceContextSuperAdmin.fromProto(proto.superAdmin);\n }\n if (proto.brand) {\n m.brand = ServiceContextBrand.fromProto(proto.brand);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.account !== 'undefined' && this.account !== null) {\n toReturn['account'] = 'toApiJson' in this.account ? this.account.toApiJson() : this.account;\n }\n if (typeof this.partner !== 'undefined' && this.partner !== null) {\n toReturn['partner'] = 'toApiJson' in this.partner ? this.partner.toApiJson() : this.partner;\n }\n if (typeof this.superAdmin !== 'undefined' && this.superAdmin !== null) {\n toReturn['superAdmin'] = 'toApiJson' in this.superAdmin ? this.superAdmin.toApiJson() : this.superAdmin;\n }\n if (typeof this.brand !== 'undefined' && this.brand !== null) {\n toReturn['brand'] = 'toApiJson' in this.brand ? this.brand.toApiJson() : this.brand;\n }\n return toReturn;\n }\n}\nclass ServiceContextSuperAdmin {\n static fromProto(proto) {\n let m = new ServiceContextSuperAdmin();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nfunction enumStringToValue$5(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AcsUrl {\n static fromProto(proto) {\n let m = new AcsUrl();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.binding !== 'undefined') {\n toReturn['binding'] = this.binding;\n }\n if (typeof this.location !== 'undefined') {\n toReturn['location'] = this.location;\n }\n return toReturn;\n }\n}\nclass SamlServiceProviderConfig {\n static fromProto(proto) {\n let m = new SamlServiceProviderConfig();\n m = Object.assign(m, proto);\n if (proto.acsUrls) {\n m.acsUrls = proto.acsUrls.map(AcsUrl.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.entityId !== 'undefined') {\n toReturn['entityId'] = this.entityId;\n }\n if (typeof this.acsUrls !== 'undefined' && this.acsUrls !== null) {\n toReturn['acsUrls'] = 'toApiJson' in this.acsUrls ? this.acsUrls.toApiJson() : this.acsUrls;\n }\n if (typeof this.signedAuthRequest !== 'undefined') {\n toReturn['signedAuthRequest'] = this.signedAuthRequest;\n }\n if (typeof this.wantSignedAssertion !== 'undefined') {\n toReturn['wantSignedAssertion'] = this.wantSignedAssertion;\n }\n if (typeof this.wantEncryptedAssertion !== 'undefined') {\n toReturn['wantEncryptedAssertion'] = this.wantEncryptedAssertion;\n }\n if (typeof this.nameIdFormats !== 'undefined') {\n toReturn['nameIdFormats'] = this.nameIdFormats;\n }\n if (typeof this.signingCertificate !== 'undefined') {\n toReturn['signingCertificate'] = this.signingCertificate;\n }\n if (typeof this.encryptionCertificate !== 'undefined') {\n toReturn['encryptionCertificate'] = this.encryptionCertificate;\n }\n if (typeof this.serviceProviderConfigId !== 'undefined') {\n toReturn['serviceProviderConfigId'] = this.serviceProviderConfigId;\n }\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n return toReturn;\n }\n}\nclass ServiceProviderConfig {\n static fromProto(proto) {\n let m = new ServiceProviderConfig();\n m = Object.assign(m, proto);\n if (proto.serviceProviderType) {\n m.serviceProviderType = enumStringToValue$5(ServiceProviderType, proto.serviceProviderType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.entryUrl !== 'undefined') {\n toReturn['entryUrl'] = this.entryUrl;\n }\n if (typeof this.sessionUrl !== 'undefined') {\n toReturn['sessionUrl'] = this.sessionUrl;\n }\n if (typeof this.primaryDomain !== 'undefined') {\n toReturn['primaryDomain'] = this.primaryDomain;\n }\n if (typeof this.alternativeDomains !== 'undefined') {\n toReturn['alternativeDomains'] = this.alternativeDomains;\n }\n if (typeof this.ownedAndOperated !== 'undefined') {\n toReturn['ownedAndOperated'] = this.ownedAndOperated;\n }\n if (typeof this.logoutUrl !== 'undefined') {\n toReturn['logoutUrl'] = this.logoutUrl;\n }\n if (typeof this.serviceProviderType !== 'undefined') {\n toReturn['serviceProviderType'] = this.serviceProviderType;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$4(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Oauth2Config {\n static fromProto(proto) {\n let m = new Oauth2Config();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.redirectUris !== 'undefined') {\n toReturn['redirectUris'] = this.redirectUris;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.logoutUri !== 'undefined') {\n toReturn['logoutUri'] = this.logoutUri;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Scope {\n static fromProto(proto) {\n let m = new Scope();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$2(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass IdentityProviderConfiguration {\n static fromProto(proto) {\n let m = new IdentityProviderConfiguration();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.openId) {\n m.openId = OpenIDConnectConfiguration.fromProto(proto.openId);\n }\n if (proto.oauth2) {\n m.oauth2 = OAuth2Configuration.fromProto(proto.oauth2);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.openId !== 'undefined' && this.openId !== null) {\n toReturn['openId'] = 'toApiJson' in this.openId ? this.openId.toApiJson() : this.openId;\n }\n if (typeof this.oauth2 !== 'undefined' && this.oauth2 !== null) {\n toReturn['oauth2'] = 'toApiJson' in this.oauth2 ? this.oauth2.toApiJson() : this.oauth2;\n }\n return toReturn;\n }\n}\nclass OAuth2Configuration {\n static fromProto(proto) {\n let m = new OAuth2Configuration();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.authorizationEndpoint !== 'undefined') {\n toReturn['authorizationEndpoint'] = this.authorizationEndpoint;\n }\n if (typeof this.tokenEndpoint !== 'undefined') {\n toReturn['tokenEndpoint'] = this.tokenEndpoint;\n }\n if (typeof this.userinfoEndpoint !== 'undefined') {\n toReturn['userinfoEndpoint'] = this.userinfoEndpoint;\n }\n return toReturn;\n }\n}\nclass OpenIDConnectConfiguration {\n static fromProto(proto) {\n let m = new OpenIDConnectConfiguration();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.discoveryEndpoint !== 'undefined') {\n toReturn['discoveryEndpoint'] = this.discoveryEndpoint;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$1(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass GetMultiConfigResponseConfigContainer {\n static fromProto(proto) {\n let m = new GetMultiConfigResponseConfigContainer();\n m = Object.assign(m, proto);\n if (proto.config) {\n m.config = Oauth2Config.fromProto(proto.config);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.config !== 'undefined' && this.config !== null) {\n toReturn['config'] = 'toApiJson' in this.config ? this.config.toApiJson() : this.config;\n }\n return toReturn;\n }\n}\nclass CreateConfigRequest {\n static fromProto(proto) {\n let m = new CreateConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.redirectUris !== 'undefined') {\n toReturn['redirectUris'] = this.redirectUris;\n }\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.logoutUri !== 'undefined') {\n toReturn['logoutUri'] = this.logoutUri;\n }\n return toReturn;\n }\n}\nclass CreateConfigResponse {\n static fromProto(proto) {\n let m = new CreateConfigResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.clientSecret !== 'undefined') {\n toReturn['clientSecret'] = this.clientSecret;\n }\n return toReturn;\n }\n}\nclass CreateIdentityProviderConfigurationRequest {\n static fromProto(proto) {\n let m = new CreateIdentityProviderConfigurationRequest();\n m = Object.assign(m, proto);\n if (proto.openId) {\n m.openId = OpenIDConnectConfiguration.fromProto(proto.openId);\n }\n if (proto.oauth2) {\n m.oauth2 = OAuth2Configuration.fromProto(proto.oauth2);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.clientSecret !== 'undefined') {\n toReturn['clientSecret'] = this.clientSecret;\n }\n if (typeof this.openId !== 'undefined' && this.openId !== null) {\n toReturn['openId'] = 'toApiJson' in this.openId ? this.openId.toApiJson() : this.openId;\n }\n if (typeof this.oauth2 !== 'undefined' && this.oauth2 !== null) {\n toReturn['oauth2'] = 'toApiJson' in this.oauth2 ? this.oauth2.toApiJson() : this.oauth2;\n }\n return toReturn;\n }\n}\nclass CreateSamlServiceProviderConfigRequest {\n static fromProto(proto) {\n let m = new CreateSamlServiceProviderConfigRequest();\n m = Object.assign(m, proto);\n if (proto.fields) {\n m.fields = SamlServiceProviderConfig.fromProto(proto.fields);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fields !== 'undefined' && this.fields !== null) {\n toReturn['fields'] = 'toApiJson' in this.fields ? this.fields.toApiJson() : this.fields;\n }\n if (typeof this.metadataXmlString !== 'undefined') {\n toReturn['metadataXmlString'] = this.metadataXmlString;\n }\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n return toReturn;\n }\n}\nclass CreateSamlServiceProviderConfigResponse {\n static fromProto(proto) {\n let m = new CreateSamlServiceProviderConfigResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderConfigId !== 'undefined') {\n toReturn['serviceProviderConfigId'] = this.serviceProviderConfigId;\n }\n return toReturn;\n }\n}\nclass CreateScopeRequest {\n static fromProto(proto) {\n let m = new CreateScopeRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nclass CreateServiceProviderRequest {\n static fromProto(proto) {\n let m = new CreateServiceProviderRequest();\n m = Object.assign(m, proto);\n if (proto.serviceProvider) {\n m.serviceProvider = ServiceProviderConfig.fromProto(proto.serviceProvider);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProvider !== 'undefined' && this.serviceProvider !== null) {\n toReturn['serviceProvider'] = 'toApiJson' in this.serviceProvider ? this.serviceProvider.toApiJson() : this.serviceProvider;\n }\n return toReturn;\n }\n}\nclass DeleteConfigRequest {\n static fromProto(proto) {\n let m = new DeleteConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n return toReturn;\n }\n}\nclass DeleteIdentityProviderConfigurationRequest {\n static fromProto(proto) {\n let m = new DeleteIdentityProviderConfigurationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass DeleteSAMLServiceProviderConfigRequest {\n static fromProto(proto) {\n let m = new DeleteSAMLServiceProviderConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderConfigId !== 'undefined') {\n toReturn['serviceProviderConfigId'] = this.serviceProviderConfigId;\n }\n return toReturn;\n }\n}\nclass DeleteScopeRequest {\n static fromProto(proto) {\n let m = new DeleteScopeRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scopeId !== 'undefined') {\n toReturn['scopeId'] = this.scopeId;\n }\n return toReturn;\n }\n}\nclass DeleteServiceProviderRequest {\n static fromProto(proto) {\n let m = new DeleteServiceProviderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n return toReturn;\n }\n}\nclass GetEntryURLRequest {\n static fromProto(proto) {\n let m = new GetEntryURLRequest();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = ServiceContext.fromProto(proto.context);\n }\n if (proto.autoImpersonation) {\n m.autoImpersonation = AutoImpersonation.fromProto(proto.autoImpersonation);\n }\n if (proto.noImpersonation) {\n m.noImpersonation = NoImpersonation.fromProto(proto.noImpersonation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.context !== 'undefined' && this.context !== null) {\n toReturn['context'] = 'toApiJson' in this.context ? this.context.toApiJson() : this.context;\n }\n if (typeof this.path !== 'undefined') {\n toReturn['path'] = this.path;\n }\n if (typeof this.skipGatewayAuthentication !== 'undefined') {\n toReturn['skipGatewayAuthentication'] = this.skipGatewayAuthentication;\n }\n if (typeof this.impersonateeUserId !== 'undefined') {\n toReturn['impersonateeUserId'] = this.impersonateeUserId;\n }\n if (typeof this.autoImpersonation !== 'undefined' && this.autoImpersonation !== null) {\n toReturn['autoImpersonation'] = 'toApiJson' in this.autoImpersonation ? this.autoImpersonation.toApiJson() : this.autoImpersonation;\n }\n if (typeof this.explicitImpersonateeUserId !== 'undefined') {\n toReturn['explicitImpersonateeUserId'] = this.explicitImpersonateeUserId;\n }\n if (typeof this.noImpersonation !== 'undefined' && this.noImpersonation !== null) {\n toReturn['noImpersonation'] = 'toApiJson' in this.noImpersonation ? this.noImpersonation.toApiJson() : this.noImpersonation;\n }\n return toReturn;\n }\n}\nclass GetEntryURLResponse {\n static fromProto(proto) {\n let m = new GetEntryURLResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.entryUrl !== 'undefined') {\n toReturn['entryUrl'] = this.entryUrl;\n }\n return toReturn;\n }\n}\nclass GetEntryURLWithCodeRequest {\n static fromProto(proto) {\n let m = new GetEntryURLWithCodeRequest();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = ServiceContext.fromProto(proto.context);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.sessionId !== 'undefined') {\n toReturn['sessionId'] = this.sessionId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.email !== 'undefined') {\n toReturn['email'] = this.email;\n }\n if (typeof this.context !== 'undefined' && this.context !== null) {\n toReturn['context'] = 'toApiJson' in this.context ? this.context.toApiJson() : this.context;\n }\n if (typeof this.nextUrl !== 'undefined') {\n toReturn['nextUrl'] = this.nextUrl;\n }\n if (typeof this.backUrl !== 'undefined') {\n toReturn['backUrl'] = this.backUrl;\n }\n if (typeof this.backUrlText !== 'undefined') {\n toReturn['backUrlText'] = this.backUrlText;\n }\n if (typeof this.federatedIdentityProvider !== 'undefined') {\n toReturn['federatedIdentityProvider'] = this.federatedIdentityProvider;\n }\n if (typeof this.impersonatorUserId !== 'undefined') {\n toReturn['impersonatorUserId'] = this.impersonatorUserId;\n }\n return toReturn;\n }\n}\nclass GetEntryURLWithCodeResponse {\n static fromProto(proto) {\n let m = new GetEntryURLWithCodeResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.entryUrl !== 'undefined') {\n toReturn['entryUrl'] = this.entryUrl;\n }\n return toReturn;\n }\n}\nclass GetIdentityProviderConfigurationRequest {\n static fromProto(proto) {\n let m = new GetIdentityProviderConfigurationRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetIdentityProviderConfigurationResponse {\n static fromProto(proto) {\n let m = new GetIdentityProviderConfigurationResponse();\n m = Object.assign(m, proto);\n if (proto.configuration) {\n m.configuration = IdentityProviderConfiguration.fromProto(proto.configuration);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.configuration !== 'undefined' && this.configuration !== null) {\n toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;\n }\n return toReturn;\n }\n}\nclass GetLogoutURLRequest {\n static fromProto(proto) {\n let m = new GetLogoutURLRequest();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = ServiceContext.fromProto(proto.context);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sessionId !== 'undefined') {\n toReturn['sessionId'] = this.sessionId;\n }\n if (typeof this.context !== 'undefined' && this.context !== null) {\n toReturn['context'] = 'toApiJson' in this.context ? this.context.toApiJson() : this.context;\n }\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n return toReturn;\n }\n}\nclass GetLogoutURLResponse {\n static fromProto(proto) {\n let m = new GetLogoutURLResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.logoutUrl !== 'undefined') {\n toReturn['logoutUrl'] = this.logoutUrl;\n }\n return toReturn;\n }\n}\nclass GetMultiConfigRequest {\n static fromProto(proto) {\n let m = new GetMultiConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.clientIds !== 'undefined') {\n toReturn['clientIds'] = this.clientIds;\n }\n return toReturn;\n }\n}\nclass GetMultiConfigResponse {\n static fromProto(proto) {\n let m = new GetMultiConfigResponse();\n m = Object.assign(m, proto);\n if (proto.configs) {\n m.configs = proto.configs.map(GetMultiConfigResponseConfigContainer.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.configs !== 'undefined' && this.configs !== null) {\n toReturn['configs'] = 'toApiJson' in this.configs ? this.configs.toApiJson() : this.configs;\n }\n return toReturn;\n }\n}\nclass GetMultiEntryURLRequest {\n static fromProto(proto) {\n let m = new GetMultiEntryURLRequest();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = ServiceContext.fromProto(proto.context);\n }\n if (proto.autoImpersonation) {\n m.autoImpersonation = AutoImpersonation.fromProto(proto.autoImpersonation);\n }\n if (proto.noImpersonation) {\n m.noImpersonation = NoImpersonation.fromProto(proto.noImpersonation);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderIds !== 'undefined') {\n toReturn['serviceProviderIds'] = this.serviceProviderIds;\n }\n if (typeof this.context !== 'undefined' && this.context !== null) {\n toReturn['context'] = 'toApiJson' in this.context ? this.context.toApiJson() : this.context;\n }\n if (typeof this.impersonateeUserId !== 'undefined') {\n toReturn['impersonateeUserId'] = this.impersonateeUserId;\n }\n if (typeof this.autoImpersonation !== 'undefined' && this.autoImpersonation !== null) {\n toReturn['autoImpersonation'] = 'toApiJson' in this.autoImpersonation ? this.autoImpersonation.toApiJson() : this.autoImpersonation;\n }\n if (typeof this.explicitImpersonateeUserId !== 'undefined') {\n toReturn['explicitImpersonateeUserId'] = this.explicitImpersonateeUserId;\n }\n if (typeof this.noImpersonation !== 'undefined' && this.noImpersonation !== null) {\n toReturn['noImpersonation'] = 'toApiJson' in this.noImpersonation ? this.noImpersonation.toApiJson() : this.noImpersonation;\n }\n return toReturn;\n }\n}\nclass GetMultiEntryURLResponse {\n static fromProto(proto) {\n let m = new GetMultiEntryURLResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.entryUrls !== 'undefined') {\n toReturn['entryUrls'] = this.entryUrls;\n }\n return toReturn;\n }\n}\nclass GetMultiScopeRequest {\n static fromProto(proto) {\n let m = new GetMultiScopeRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scopeIds !== 'undefined') {\n toReturn['scopeIds'] = this.scopeIds;\n }\n return toReturn;\n }\n}\nclass GetMultiScopeResponse {\n static fromProto(proto) {\n let m = new GetMultiScopeResponse();\n m = Object.assign(m, proto);\n if (proto.scopes) {\n m.scopes = proto.scopes.map(GetMultiScopeResponseScopeContainer.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scopes !== 'undefined' && this.scopes !== null) {\n toReturn['scopes'] = 'toApiJson' in this.scopes ? this.scopes.toApiJson() : this.scopes;\n }\n return toReturn;\n }\n}\nclass GetSAMLIdentityProviderMetadataRequest {\n static fromProto(proto) {\n let m = new GetSAMLIdentityProviderMetadataRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderConfigId !== 'undefined') {\n toReturn['serviceProviderConfigId'] = this.serviceProviderConfigId;\n }\n return toReturn;\n }\n}\nclass GetSAMLIdentityProviderMetadataResponse {\n static fromProto(proto) {\n let m = new GetSAMLIdentityProviderMetadataResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.metadata !== 'undefined') {\n toReturn['metadata'] = this.metadata;\n }\n return toReturn;\n }\n}\nclass GetServiceProviderRequest {\n static fromProto(proto) {\n let m = new GetServiceProviderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n return toReturn;\n }\n}\nclass GetServiceProviderResponse {\n static fromProto(proto) {\n let m = new GetServiceProviderResponse();\n m = Object.assign(m, proto);\n if (proto.serviceProvider) {\n m.serviceProvider = ServiceProviderConfig.fromProto(proto.serviceProvider);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProvider !== 'undefined' && this.serviceProvider !== null) {\n toReturn['serviceProvider'] = 'toApiJson' in this.serviceProvider ? this.serviceProvider.toApiJson() : this.serviceProvider;\n }\n return toReturn;\n }\n}\nclass GetSessionTransferURLRequest {\n static fromProto(proto) {\n let m = new GetSessionTransferURLRequest();\n m = Object.assign(m, proto);\n if (proto.context) {\n m.context = ServiceContext.fromProto(proto.context);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.context !== 'undefined' && this.context !== null) {\n toReturn['context'] = 'toApiJson' in this.context ? this.context.toApiJson() : this.context;\n }\n return toReturn;\n }\n}\nclass GetSessionTransferURLResponse {\n static fromProto(proto) {\n let m = new GetSessionTransferURLResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sessionTransferUrl !== 'undefined') {\n toReturn['sessionTransferUrl'] = this.sessionTransferUrl;\n }\n return toReturn;\n }\n}\nclass HasCustomIdentityProviderRequest {\n static fromProto(proto) {\n let m = new HasCustomIdentityProviderRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n return toReturn;\n }\n}\nclass HasCustomIdentityProviderResponse {\n static fromProto(proto) {\n let m = new HasCustomIdentityProviderResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.hasCustomIdp !== 'undefined') {\n toReturn['hasCustomIdp'] = this.hasCustomIdp;\n }\n return toReturn;\n }\n}\nclass ListConfigsRequest {\n static fromProto(proto) {\n let m = new ListConfigsRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n return toReturn;\n }\n}\nclass ListConfigsResponse {\n static fromProto(proto) {\n let m = new ListConfigsResponse();\n m = Object.assign(m, proto);\n if (proto.clientConfigurations) {\n m.clientConfigurations = proto.clientConfigurations.map(Oauth2Config.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.clientConfigurations !== 'undefined' && this.clientConfigurations !== null) {\n toReturn['clientConfigurations'] = 'toApiJson' in this.clientConfigurations ? this.clientConfigurations.toApiJson() : this.clientConfigurations;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListSAMLServiceProviderConfigsRequest {\n static fromProto(proto) {\n let m = new ListSAMLServiceProviderConfigsRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n return toReturn;\n }\n}\nclass ListSAMLServiceProviderConfigsResponse {\n static fromProto(proto) {\n let m = new ListSAMLServiceProviderConfigsResponse();\n m = Object.assign(m, proto);\n if (proto.serviceProviderConfigs) {\n m.serviceProviderConfigs = proto.serviceProviderConfigs.map(SamlServiceProviderConfig.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderConfigs !== 'undefined' && this.serviceProviderConfigs !== null) {\n toReturn['serviceProviderConfigs'] = 'toApiJson' in this.serviceProviderConfigs ? this.serviceProviderConfigs.toApiJson() : this.serviceProviderConfigs;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListScopesRequest {\n static fromProto(proto) {\n let m = new ListScopesRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n return toReturn;\n }\n}\nclass ListScopesResponse {\n static fromProto(proto) {\n let m = new ListScopesResponse();\n m = Object.assign(m, proto);\n if (proto.scopes) {\n m.scopes = proto.scopes.map(Scope.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scopes !== 'undefined' && this.scopes !== null) {\n toReturn['scopes'] = 'toApiJson' in this.scopes ? this.scopes.toApiJson() : this.scopes;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListServiceProvidersRequest {\n static fromProto(proto) {\n let m = new ListServiceProvidersRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n return toReturn;\n }\n}\nclass ListServiceProvidersResponse {\n static fromProto(proto) {\n let m = new ListServiceProvidersResponse();\n m = Object.assign(m, proto);\n if (proto.serviceProviders) {\n m.serviceProviders = proto.serviceProviders.map(ServiceProviderConfig.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviders !== 'undefined' && this.serviceProviders !== null) {\n toReturn['serviceProviders'] = 'toApiJson' in this.serviceProviders ? this.serviceProviders.toApiJson() : this.serviceProviders;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass LogoutRequest {\n static fromProto(proto) {\n let m = new LogoutRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sessionId !== 'undefined') {\n toReturn['sessionId'] = this.sessionId;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n return toReturn;\n }\n}\nclass UpdateScopeRequestMutation {\n static fromProto(proto) {\n let m = new UpdateScopeRequestMutation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n return toReturn;\n }\n}\nclass UpdateIdentityProviderConfigurationRequestMutation {\n static fromProto(proto) {\n let m = new UpdateIdentityProviderConfigurationRequestMutation();\n m = Object.assign(m, proto);\n if (proto.openId) {\n m.openId = UpdateIdentityProviderConfigurationRequestMutationOpenIDConnectConfigurationMutation.fromProto(proto.openId);\n }\n if (proto.replaceOpenId) {\n m.replaceOpenId = OpenIDConnectConfiguration.fromProto(proto.replaceOpenId);\n }\n if (proto.oauth2) {\n m.oauth2 = UpdateIdentityProviderConfigurationRequestMutationOAuth2ConfigurationMutation.fromProto(proto.oauth2);\n }\n if (proto.replaceOauth2) {\n m.replaceOauth2 = OAuth2Configuration.fromProto(proto.replaceOauth2);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.clientSecret !== 'undefined') {\n toReturn['clientSecret'] = this.clientSecret;\n }\n if (typeof this.openId !== 'undefined' && this.openId !== null) {\n toReturn['openId'] = 'toApiJson' in this.openId ? this.openId.toApiJson() : this.openId;\n }\n if (typeof this.replaceOpenId !== 'undefined' && this.replaceOpenId !== null) {\n toReturn['replaceOpenId'] = 'toApiJson' in this.replaceOpenId ? this.replaceOpenId.toApiJson() : this.replaceOpenId;\n }\n if (typeof this.oauth2 !== 'undefined' && this.oauth2 !== null) {\n toReturn['oauth2'] = 'toApiJson' in this.oauth2 ? this.oauth2.toApiJson() : this.oauth2;\n }\n if (typeof this.replaceOauth2 !== 'undefined' && this.replaceOauth2 !== null) {\n toReturn['replaceOauth2'] = 'toApiJson' in this.replaceOauth2 ? this.replaceOauth2.toApiJson() : this.replaceOauth2;\n }\n return toReturn;\n }\n}\nclass UpdateConfigRequestMutation {\n static fromProto(proto) {\n let m = new UpdateConfigRequestMutation();\n m = Object.assign(m, proto);\n if (proto.redirectUris) {\n m.redirectUris = UpdateConfigRequestMutationRepeatedStringMutation.fromProto(proto.redirectUris);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.redirectUris !== 'undefined' && this.redirectUris !== null) {\n toReturn['redirectUris'] = 'toApiJson' in this.redirectUris ? this.redirectUris.toApiJson() : this.redirectUris;\n }\n if (typeof this.logoutUri !== 'undefined') {\n toReturn['logoutUri'] = this.logoutUri;\n }\n return toReturn;\n }\n}\nclass UpdateServiceProviderRequestMutation {\n static fromProto(proto) {\n let m = new UpdateServiceProviderRequestMutation();\n m = Object.assign(m, proto);\n if (proto.alternativeDomains) {\n m.alternativeDomains = UpdateServiceProviderRequestMutationRepeatedStringMutation.fromProto(proto.alternativeDomains);\n }\n if (proto.serviceProviderType) {\n m.serviceProviderType = enumStringToValue$1(ServiceProviderType, proto.serviceProviderType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.entryUrl !== 'undefined') {\n toReturn['entryUrl'] = this.entryUrl;\n }\n if (typeof this.sessionUrl !== 'undefined') {\n toReturn['sessionUrl'] = this.sessionUrl;\n }\n if (typeof this.primaryDomain !== 'undefined') {\n toReturn['primaryDomain'] = this.primaryDomain;\n }\n if (typeof this.alternativeDomains !== 'undefined' && this.alternativeDomains !== null) {\n toReturn['alternativeDomains'] = 'toApiJson' in this.alternativeDomains ? this.alternativeDomains.toApiJson() : this.alternativeDomains;\n }\n if (typeof this.ownedAndOperated !== 'undefined') {\n toReturn['ownedAndOperated'] = this.ownedAndOperated;\n }\n if (typeof this.logoutUrl !== 'undefined') {\n toReturn['logoutUrl'] = this.logoutUrl;\n }\n if (typeof this.serviceProviderType !== 'undefined') {\n toReturn['serviceProviderType'] = this.serviceProviderType;\n }\n return toReturn;\n }\n}\nclass UpdateIdentityProviderConfigurationRequestMutationOAuth2ConfigurationMutation {\n static fromProto(proto) {\n let m = new UpdateIdentityProviderConfigurationRequestMutationOAuth2ConfigurationMutation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.authorizationEndpoint !== 'undefined') {\n toReturn['authorizationEndpoint'] = this.authorizationEndpoint;\n }\n if (typeof this.tokenEndpoint !== 'undefined') {\n toReturn['tokenEndpoint'] = this.tokenEndpoint;\n }\n if (typeof this.userinfoEndpoint !== 'undefined') {\n toReturn['userinfoEndpoint'] = this.userinfoEndpoint;\n }\n return toReturn;\n }\n}\nclass UpdateIdentityProviderConfigurationRequestMutationOpenIDConnectConfigurationMutation {\n static fromProto(proto) {\n let m = new UpdateIdentityProviderConfigurationRequestMutationOpenIDConnectConfigurationMutation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.discoveryEndpoint !== 'undefined') {\n toReturn['discoveryEndpoint'] = this.discoveryEndpoint;\n }\n return toReturn;\n }\n}\nclass RegenerateSAMLServiceProviderConfigCertificateRequest {\n static fromProto(proto) {\n let m = new RegenerateSAMLServiceProviderConfigCertificateRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviderConfigId !== 'undefined') {\n toReturn['serviceProviderConfigId'] = this.serviceProviderConfigId;\n }\n return toReturn;\n }\n}\nclass RegenerateSAMLServiceProviderConfigCertificateResponse {\n static fromProto(proto) {\n let m = new RegenerateSAMLServiceProviderConfigCertificateResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.certificate !== 'undefined') {\n toReturn['certificate'] = this.certificate;\n }\n return toReturn;\n }\n}\nclass UpdateServiceProviderRequestMutationRepeatedStringMutation {\n static fromProto(proto) {\n let m = new UpdateServiceProviderRequestMutationRepeatedStringMutation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.repeatedString !== 'undefined') {\n toReturn['repeatedString'] = this.repeatedString;\n }\n return toReturn;\n }\n}\nclass UpdateConfigRequestMutationRepeatedStringMutation {\n static fromProto(proto) {\n let m = new UpdateConfigRequestMutationRepeatedStringMutation();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.repeatedString !== 'undefined') {\n toReturn['repeatedString'] = this.repeatedString;\n }\n return toReturn;\n }\n}\nclass RevokeGrantRequest {\n static fromProto(proto) {\n let m = new RevokeGrantRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.scopeIds !== 'undefined') {\n toReturn['scopeIds'] = this.scopeIds;\n }\n return toReturn;\n }\n}\nclass GetMultiScopeResponseScopeContainer {\n static fromProto(proto) {\n let m = new GetMultiScopeResponseScopeContainer();\n m = Object.assign(m, proto);\n if (proto.scope) {\n m.scope = Scope.fromProto(proto.scope);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined' && this.scope !== null) {\n toReturn['scope'] = 'toApiJson' in this.scope ? this.scope.toApiJson() : this.scope;\n }\n return toReturn;\n }\n}\nclass UpdateConfigRequest {\n static fromProto(proto) {\n let m = new UpdateConfigRequest();\n m = Object.assign(m, proto);\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpdateConfigRequestMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.clientId !== 'undefined') {\n toReturn['clientId'] = this.clientId;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n return toReturn;\n }\n}\nclass UpdateIdentityProviderConfigurationRequest {\n static fromProto(proto) {\n let m = new UpdateIdentityProviderConfigurationRequest();\n m = Object.assign(m, proto);\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpdateIdentityProviderConfigurationRequestMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n return toReturn;\n }\n}\nclass UpdateSAMLServiceProviderConfigRequest {\n static fromProto(proto) {\n let m = new UpdateSAMLServiceProviderConfigRequest();\n m = Object.assign(m, proto);\n if (proto.fields) {\n m.fields = SamlServiceProviderConfig.fromProto(proto.fields);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fields !== 'undefined' && this.fields !== null) {\n toReturn['fields'] = 'toApiJson' in this.fields ? this.fields.toApiJson() : this.fields;\n }\n if (typeof this.metadataXmlString !== 'undefined') {\n toReturn['metadataXmlString'] = this.metadataXmlString;\n }\n if (typeof this.serviceProviderConfigId !== 'undefined') {\n toReturn['serviceProviderConfigId'] = this.serviceProviderConfigId;\n }\n return toReturn;\n }\n}\nclass UpdateScopeRequest {\n static fromProto(proto) {\n let m = new UpdateScopeRequest();\n m = Object.assign(m, proto);\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpdateScopeRequestMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scopeId !== 'undefined') {\n toReturn['scopeId'] = this.scopeId;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n return toReturn;\n }\n}\nclass UpdateServiceProviderRequest {\n static fromProto(proto) {\n let m = new UpdateServiceProviderRequest();\n m = Object.assign(m, proto);\n if (proto.serviceProvider) {\n m.serviceProvider = ServiceProviderConfig.fromProto(proto.serviceProvider);\n }\n if (proto.mutations) {\n m.mutations = proto.mutations.map(UpdateServiceProviderRequestMutation.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProvider !== 'undefined' && this.serviceProvider !== null) {\n toReturn['serviceProvider'] = 'toApiJson' in this.serviceProvider ? this.serviceProvider.toApiJson() : this.serviceProvider;\n }\n if (typeof this.serviceProviderId !== 'undefined') {\n toReturn['serviceProviderId'] = this.serviceProviderId;\n }\n if (typeof this.mutations !== 'undefined' && this.mutations !== null) {\n toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;\n }\n return toReturn;\n }\n}\nclass ConsumeSingleUseTokenRequest {\n static fromProto(proto) {\n let m = new ConsumeSingleUseTokenRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.userID !== 'undefined') {\n toReturn['userID'] = this.userID;\n }\n if (typeof this.otp !== 'undefined') {\n toReturn['otp'] = this.otp;\n }\n if (typeof this.nextUrl !== 'undefined') {\n toReturn['nextUrl'] = this.nextUrl;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass FieldMask {\n static fromProto(proto) {\n let m = new FieldMask();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paths !== 'undefined') {\n toReturn['paths'] = this.paths;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': '',\n 'test': '',\n 'demo': 'sso-api-demo.apigateway.co',\n 'prod': 'sso-api-prod.apigateway.co',\n 'production': 'sso-api-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n }\n HostService.ɵfac = function HostService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HostService)();\n };\n HostService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ConsentApiService = /*#__PURE__*/(() => {\n class ConsentApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n revokeGrant(r) {\n const request = r.toApiJson ? r : new RevokeGrantRequest(r);\n return this.http.post(this._host + \"/sso.v1.Consent/RevokeGrant\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n ConsentApiService.ɵfac = function ConsentApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ConsentApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n ConsentApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ConsentApiService,\n factory: ConsentApiService.ɵfac,\n providedIn: 'root'\n });\n return ConsentApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ConsentAdminApiService = /*#__PURE__*/(() => {\n class ConsentAdminApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createScope(r) {\n const request = r.toApiJson ? r : new CreateScopeRequest(r);\n return this.http.post(this._host + \"/sso.v1.ConsentAdmin/CreateScope\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateScope(r) {\n const request = r.toApiJson ? r : new UpdateScopeRequest(r);\n return this.http.post(this._host + \"/sso.v1.ConsentAdmin/UpdateScope\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getMultiScope(r) {\n const request = r.toApiJson ? r : new GetMultiScopeRequest(r);\n return this.http.post(this._host + \"/sso.v1.ConsentAdmin/GetMultiScope\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiScopeResponse.fromProto(resp)));\n }\n listScopes(r) {\n const request = r.toApiJson ? r : new ListScopesRequest(r);\n return this.http.post(this._host + \"/sso.v1.ConsentAdmin/ListScopes\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListScopesResponse.fromProto(resp)));\n }\n deleteScope(r) {\n const request = r.toApiJson ? r : new DeleteScopeRequest(r);\n return this.http.post(this._host + \"/sso.v1.ConsentAdmin/DeleteScope\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n ConsentAdminApiService.ɵfac = function ConsentAdminApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ConsentAdminApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n ConsentAdminApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ConsentAdminApiService,\n factory: ConsentAdminApiService.ɵfac,\n providedIn: 'root'\n });\n return ConsentAdminApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet IdentityProviderApiService = /*#__PURE__*/(() => {\n class IdentityProviderApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getEntryUrl(r) {\n const request = r.toApiJson ? r : new GetEntryURLRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProvider/GetEntryURL\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetEntryURLResponse.fromProto(resp)));\n }\n getMultiEntryUrl(r) {\n const request = r.toApiJson ? r : new GetMultiEntryURLRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProvider/GetMultiEntryURL\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiEntryURLResponse.fromProto(resp)));\n }\n getEntryUrlWithCode(r) {\n const request = r.toApiJson ? r : new GetEntryURLWithCodeRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProvider/GetEntryURLWithCode\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetEntryURLWithCodeResponse.fromProto(resp)));\n }\n logout(r) {\n const request = r.toApiJson ? r : new LogoutRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProvider/Logout\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n consumeSingleUseToken(r) {\n const toApiJson = r.toApiJson;\n const request = typeof toApiJson !== 'undefined' ? r : new ConsumeSingleUseTokenRequest(r);\n const params = new URLSearchParams();\n const apiJson = request.toApiJson();\n for (const key in apiJson) {\n if (!apiJson.hasOwnProperty(key)) {\n continue;\n }\n const value = apiJson[key];\n if (value === null) {\n continue;\n }\n params.append(key, value);\n }\n window.location.href = `${this._host}/single-use-token?${params.toString()}`;\n }\n }\n IdentityProviderApiService.ɵfac = function IdentityProviderApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || IdentityProviderApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n IdentityProviderApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: IdentityProviderApiService,\n factory: IdentityProviderApiService.ɵfac,\n providedIn: 'root'\n });\n return IdentityProviderApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet IdentityProviderAdminApiService = /*#__PURE__*/(() => {\n class IdentityProviderAdminApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createIdentityProvider(r) {\n const request = r.toApiJson ? r : new CreateIdentityProviderConfigurationRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProviderAdmin/CreateIdentityProvider\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n updateIdentityProvider(r) {\n const request = r.toApiJson ? r : new UpdateIdentityProviderConfigurationRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProviderAdmin/UpdateIdentityProvider\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getIdentityProvider(r) {\n const request = r.toApiJson ? r : new GetIdentityProviderConfigurationRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProviderAdmin/GetIdentityProvider\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetIdentityProviderConfigurationResponse.fromProto(resp)));\n }\n deleteIdentityProvider(r) {\n const request = r.toApiJson ? r : new DeleteIdentityProviderConfigurationRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProviderAdmin/DeleteIdentityProvider\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n hasCustomIdentityProvider(r) {\n const request = r.toApiJson ? r : new HasCustomIdentityProviderRequest(r);\n return this.http.post(this._host + \"/sso.v1.IdentityProviderAdmin/HasCustomIdentityProvider\", request.toApiJson(), this.apiOptions()).pipe(map(resp => HasCustomIdentityProviderResponse.fromProto(resp)));\n }\n }\n IdentityProviderAdminApiService.ɵfac = function IdentityProviderAdminApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || IdentityProviderAdminApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n IdentityProviderAdminApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: IdentityProviderAdminApiService,\n factory: IdentityProviderAdminApiService.ɵfac,\n providedIn: 'root'\n });\n return IdentityProviderAdminApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ServiceProviderApiService = /*#__PURE__*/(() => {\n class ServiceProviderApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getSessionTransferUrl(r) {\n const request = r.toApiJson ? r : new GetSessionTransferURLRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProvider/GetSessionTransferURL\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSessionTransferURLResponse.fromProto(resp)));\n }\n getLogoutUrl(r) {\n const request = r.toApiJson ? r : new GetLogoutURLRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProvider/GetLogoutURL\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetLogoutURLResponse.fromProto(resp)));\n }\n }\n ServiceProviderApiService.ɵfac = function ServiceProviderApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ServiceProviderApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n ServiceProviderApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ServiceProviderApiService,\n factory: ServiceProviderApiService.ɵfac,\n providedIn: 'root'\n });\n return ServiceProviderApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ServiceProviderAdminApiService = /*#__PURE__*/(() => {\n class ServiceProviderAdminApiService {\n constructor(http, hostService) {\n this.http = http;\n this.hostService = hostService;\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createServiceProvider(r) {\n const request = r.toApiJson ? r : new CreateServiceProviderRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/CreateServiceProvider\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getServiceProvider(r) {\n const request = r.toApiJson ? r : new GetServiceProviderRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/GetServiceProvider\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetServiceProviderResponse.fromProto(resp)));\n }\n updateServiceProvider(r) {\n const request = r.toApiJson ? r : new UpdateServiceProviderRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/UpdateServiceProvider\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteServiceProvider(r) {\n const request = r.toApiJson ? r : new DeleteServiceProviderRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/DeleteServiceProvider\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listServiceProviders(r) {\n const request = r.toApiJson ? r : new ListServiceProvidersRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/ListServiceProviders\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListServiceProvidersResponse.fromProto(resp)));\n }\n createConfig(r) {\n const request = r.toApiJson ? r : new CreateConfigRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/CreateConfig\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateConfigResponse.fromProto(resp)));\n }\n getMultiConfig(r) {\n const request = r.toApiJson ? r : new GetMultiConfigRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/GetMultiConfig\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiConfigResponse.fromProto(resp)));\n }\n updateConfig(r) {\n const request = r.toApiJson ? r : new UpdateConfigRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/UpdateConfig\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteConfig(r) {\n const request = r.toApiJson ? r : new DeleteConfigRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/DeleteConfig\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listConfigs(r) {\n const request = r.toApiJson ? r : new ListConfigsRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/ListConfigs\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListConfigsResponse.fromProto(resp)));\n }\n createSamlServiceProviderConfig(r) {\n const request = r.toApiJson ? r : new CreateSamlServiceProviderConfigRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/CreateSamlServiceProviderConfig\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateSamlServiceProviderConfigResponse.fromProto(resp)));\n }\n getSamlIdentityProviderMetadata(r) {\n const request = r.toApiJson ? r : new GetSAMLIdentityProviderMetadataRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/GetSAMLIdentityProviderMetadata\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSAMLIdentityProviderMetadataResponse.fromProto(resp)));\n }\n updateSamlServiceProviderConfig(r) {\n const request = r.toApiJson ? r : new UpdateSAMLServiceProviderConfigRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/UpdateSAMLServiceProviderConfig\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listSamlServiceProviderConfigs(r) {\n const request = r.toApiJson ? r : new ListSAMLServiceProviderConfigsRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/ListSAMLServiceProviderConfigs\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSAMLServiceProviderConfigsResponse.fromProto(resp)));\n }\n regenerateSamlServiceProviderConfigCertificate(r) {\n const request = r.toApiJson ? r : new RegenerateSAMLServiceProviderConfigCertificateRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/RegenerateSAMLServiceProviderConfigCertificate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => RegenerateSAMLServiceProviderConfigCertificateResponse.fromProto(resp)));\n }\n deleteSamlServiceProviderConfig(r) {\n const request = r.toApiJson ? r : new DeleteSAMLServiceProviderConfigRequest(r);\n return this.http.post(this._host + \"/sso.v1.ServiceProviderAdmin/DeleteSAMLServiceProviderConfig\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n ServiceProviderAdminApiService.ɵfac = function ServiceProviderAdminApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ServiceProviderAdminApiService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(HostService));\n };\n ServiceProviderAdminApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ServiceProviderAdminApiService,\n factory: ServiceProviderAdminApiService.ɵfac,\n providedIn: 'root'\n });\n return ServiceProviderAdminApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Index.\n// *********************************\n\nconst ImpersonationTypeNone = 'none';\nconst ImpersonationTypeAuto = 'auto';\nconst serviceGatewayPath = \"/service-gateway\";\nlet SSOService = /*#__PURE__*/(() => {\n class SSOService {\n constructor(identityProviderApiService, consentAdminApiService, serviceProviderApiService, hostService) {\n this.identityProviderApiService = identityProviderApiService;\n this.consentAdminApiService = consentAdminApiService;\n this.serviceProviderApiService = serviceProviderApiService;\n this.hostService = hostService;\n }\n getEntryUrl(serviceProviderId, context, options = {}) {\n const request = new GetEntryURLRequest({\n serviceProviderId: serviceProviderId,\n context: context,\n skipGatewayAuthentication: options.skipGatewayAuthentication,\n path: options.path\n });\n switch (options.impersonation) {\n case 'none':\n request.noImpersonation = new NoImpersonation();\n break;\n case 'auto':\n request.autoImpersonation = new AutoImpersonation();\n break;\n // Use the proto/server default.\n case undefined:\n break;\n case null:\n break;\n default:\n request.explicitImpersonateeUserId = options.impersonation;\n break;\n }\n return this.identityProviderApiService.getEntryUrl(request).pipe(map(resp => resp.entryUrl), share());\n }\n getMultiEntryUrl(serviceProviderIds, context, options = {}) {\n const request = new GetMultiEntryURLRequest({\n serviceProviderIds: serviceProviderIds,\n context: context\n });\n switch (options.impersonation) {\n case 'none':\n request.noImpersonation = new NoImpersonation();\n break;\n case 'auto':\n request.autoImpersonation = new AutoImpersonation();\n break;\n // Use the proto/server default.\n case undefined:\n break;\n case null:\n break;\n default:\n request.explicitImpersonateeUserId = options.impersonation;\n break;\n }\n return this.identityProviderApiService.getMultiEntryUrl(request).pipe(map(resp => resp.entryUrls || []), share());\n }\n getMultiScope(scopeIds) {\n const request = new GetMultiScopeRequest({\n scopeIds: scopeIds\n });\n return this.consentAdminApiService.getMultiScope(request).pipe(map(resp => resp.scopes));\n }\n getSessionTransferURL(serviceProviderId, context) {\n const request = new GetSessionTransferURLRequest({\n serviceProviderId: serviceProviderId,\n context: context\n });\n return this.serviceProviderApiService.getSessionTransferUrl(request);\n }\n consumeSingleUseToken(userID, otp, nextUrl) {\n const request = new ConsumeSingleUseTokenRequest({\n userID: userID,\n otp: otp,\n nextUrl: nextUrl\n });\n this.identityProviderApiService.consumeSingleUseToken(request);\n }\n getServiceGatewayURLForAccount(serviceProviderID, accountID, nextPath) {\n const host = this.hostService.hostWithScheme;\n const query = new URLSearchParams({\n serviceProviderId: serviceProviderID,\n account_id: accountID\n });\n if (nextPath) {\n query.set(\"path\", nextPath);\n }\n return host + serviceGatewayPath + \"?\" + query.toString();\n }\n getServiceGatewayURLForGroupPath(serviceProviderID, groupPath, nextPath) {\n const host = this.hostService.hostWithScheme;\n const query = new URLSearchParams({\n serviceProviderId: serviceProviderID,\n group_path: groupPath\n });\n if (nextPath) {\n query.set(\"path\", nextPath);\n }\n return host + serviceGatewayPath + \"?\" + query.toString();\n }\n }\n SSOService.ɵfac = function SSOService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SSOService)(i0.ɵɵinject(IdentityProviderApiService), i0.ɵɵinject(ConsentAdminApiService), i0.ɵɵinject(ServiceProviderApiService), i0.ɵɵinject(HostService));\n };\n SSOService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SSOService,\n factory: SSOService.ɵfac,\n providedIn: 'root'\n });\n return SSOService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nfunction newAccountServiceContext(accountId) {\n return new ServiceContext({\n account: new ServiceContextAccount({\n accountId: accountId\n })\n });\n}\nfunction newPartnerServiceContext(partnerId) {\n return new ServiceContext({\n partner: new ServiceContextPartner({\n partnerId: partnerId\n })\n });\n}\nfunction newSuperAdminServiceContext() {\n return new ServiceContext({\n superAdmin: new ServiceContextSuperAdmin()\n });\n}\n\n// DEPRECATED, use ServiceContextPartner\nconst Partner = ServiceContextPartner;\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, AcsUrl, AutoImpersonation, ConsentAdminApiService, ConsentApiService, ConsumeSingleUseTokenRequest, CreateConfigRequest, CreateConfigResponse, CreateIdentityProviderConfigurationRequest, CreateSamlServiceProviderConfigRequest, CreateSamlServiceProviderConfigResponse, CreateScopeRequest, CreateServiceProviderRequest, DeleteConfigRequest, DeleteIdentityProviderConfigurationRequest, DeleteSAMLServiceProviderConfigRequest, DeleteScopeRequest, DeleteServiceProviderRequest, FieldMask, GetEntryURLRequest, GetEntryURLResponse, GetEntryURLWithCodeRequest, GetEntryURLWithCodeResponse, GetIdentityProviderConfigurationRequest, GetIdentityProviderConfigurationResponse, GetLogoutURLRequest, GetLogoutURLResponse, GetMultiConfigRequest, GetMultiConfigResponse, GetMultiConfigResponseConfigContainer, GetMultiEntryURLRequest, GetMultiEntryURLResponse, GetMultiScopeRequest, GetMultiScopeResponse, GetMultiScopeResponseScopeContainer, GetSAMLIdentityProviderMetadataRequest, GetSAMLIdentityProviderMetadataResponse, GetServiceProviderRequest, GetServiceProviderResponse, GetSessionTransferURLRequest, GetSessionTransferURLResponse, HasCustomIdentityProviderRequest, HasCustomIdentityProviderResponse, HostService, IdentityProviderAdminApiService, IdentityProviderApiService, IdentityProviderConfiguration, ListConfigsRequest, ListConfigsResponse, ListSAMLServiceProviderConfigsRequest, ListSAMLServiceProviderConfigsResponse, ListScopesRequest, ListScopesResponse, ListServiceProvidersRequest, ListServiceProvidersResponse, LogoutRequest, NoImpersonation, OAuth2Configuration, Oauth2Config, OpenIDConnectConfiguration, Partner, RegenerateSAMLServiceProviderConfigCertificateRequest, RegenerateSAMLServiceProviderConfigCertificateResponse, RevokeGrantRequest, SSOService, SamlServiceProviderConfig, Scope, ServiceContext, ServiceContextAccount, ServiceContextBrand, ServiceContextPartner, ServiceContextSuperAdmin, ServiceProviderAdminApiService, ServiceProviderApiService, ServiceProviderConfig, ServiceProviderType, UpdateConfigRequest, UpdateConfigRequestMutation, UpdateConfigRequestMutationRepeatedStringMutation, UpdateIdentityProviderConfigurationRequest, UpdateIdentityProviderConfigurationRequestMutation, UpdateIdentityProviderConfigurationRequestMutationOAuth2ConfigurationMutation, UpdateIdentityProviderConfigurationRequestMutationOpenIDConnectConfigurationMutation, UpdateSAMLServiceProviderConfigRequest, UpdateScopeRequest, UpdateScopeRequestMutation, UpdateServiceProviderRequest, UpdateServiceProviderRequestMutation, UpdateServiceProviderRequestMutationRepeatedStringMutation, newAccountServiceContext, newPartnerServiceContext, newSuperAdminServiceContext };\n"],"mappings":"sJAYA,IAAIA,GAAmC,SAAUA,EAAqB,CACpE,OAAAA,EAAoBA,EAAoB,8BAAmC,CAAC,EAAI,gCAChFA,EAAoBA,EAAoB,+BAAoC,CAAC,EAAI,iCAC1EA,CACT,EAAEA,IAAuB,CA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mB,CAC1E,MAAOvC,EACP,QAASA,EAA+B,UACxC,WAAY,MACd,CAAC,EACMA,CACT,GAAG","names":["ServiceProviderType","enumStringToValue$5","enumRef","value","AcsUrl","_AcsUrl","proto","m","kwargs","toReturn","SamlServiceProviderConfig","_SamlServiceProviderConfig","ServiceProviderConfig","_ServiceProviderConfig","ServiceProviderType","Oauth2Config","_Oauth2Config","proto","m","kwargs","toReturn","Scope","_Scope","proto","m","kwargs","toReturn","enumStringToValue$1","enumRef","value","GetMultiConfigResponseConfigContainer","_GetMultiConfigResponseConfigContainer","proto","m","Oauth2Config","kwargs","toReturn","CreateConfigRequest","_CreateConfigRequest","CreateConfigResponse","_CreateConfigResponse","CreateSamlServiceProviderConfigRequest","_CreateSamlServiceProviderConfigRequest","proto","m","SamlServiceProviderConfig","kwargs","toReturn","CreateSamlServiceProviderConfigResponse","_CreateSamlServiceProviderConfigResponse","CreateScopeRequest","_CreateScopeRequest","CreateServiceProviderRequest","_CreateServiceProviderRequest","ServiceProviderConfig","DeleteConfigRequest","_DeleteConfigRequest","DeleteSAMLServiceProviderConfigRequest","_DeleteSAMLServiceProviderConfigRequest","proto","m","kwargs","toReturn","DeleteScopeRequest","_DeleteScopeRequest","DeleteServiceProviderRequest","_DeleteServiceProviderRequest","GetMultiConfigRequest","_GetMultiConfigRequest","proto","m","kwargs","toReturn","GetMultiConfigResponse","_GetMultiConfigResponse","GetMultiConfigResponseConfigContainer","GetMultiScopeRequest","_GetMultiScopeRequest","proto","m","kwargs","toReturn","GetMultiScopeResponse","_GetMultiScopeResponse","GetMultiScopeResponseScopeContainer","GetSAMLIdentityProviderMetadataRequest","_GetSAMLIdentityProviderMetadataRequest","GetSAMLIdentityProviderMetadataResponse","_GetSAMLIdentityProviderMetadataResponse","GetServiceProviderRequest","_GetServiceProviderRequest","GetServiceProviderResponse","_GetServiceProviderResponse","ServiceProviderConfig","ListConfigsRequest","_ListConfigsRequest","proto","m","kwargs","toReturn","ListConfigsResponse","_ListConfigsResponse","Oauth2Config","ListSAMLServiceProviderConfigsRequest","_ListSAMLServiceProviderConfigsRequest","ListSAMLServiceProviderConfigsResponse","_ListSAMLServiceProviderConfigsResponse","SamlServiceProviderConfig","ListScopesRequest","_ListScopesRequest","ListScopesResponse","_ListScopesResponse","Scope","ListServiceProvidersRequest","_ListServiceProvidersRequest","ListServiceProvidersResponse","_ListServiceProvidersResponse","ServiceProviderConfig","UpdateScopeRequestMutation","_UpdateScopeRequestMutation","proto","m","kwargs","toReturn","UpdateConfigRequestMutation","_UpdateConfigRequestMutation","proto","m","UpdateConfigRequestMutationRepeatedStringMutation","kwargs","toReturn","UpdateServiceProviderRequestMutation","_UpdateServiceProviderRequestMutation","UpdateServiceProviderRequestMutationRepeatedStringMutation","enumStringToValue$1","ServiceProviderType","RegenerateSAMLServiceProviderConfigCertificateRequest","_RegenerateSAMLServiceProviderConfigCertificateRequest","proto","m","kwargs","toReturn","RegenerateSAMLServiceProviderConfigCertificateResponse","_RegenerateSAMLServiceProviderConfigCertificateResponse","UpdateServiceProviderRequestMutationRepeatedStringMutation","_UpdateServiceProviderRequestMutationRepeatedStringMutation","UpdateConfigRequestMutationRepeatedStringMutation","_UpdateConfigRequestMutationRepeatedStringMutation","GetMultiScopeResponseScopeContainer","_GetMultiScopeResponseScopeContainer","proto","m","Scope","kwargs","toReturn","UpdateConfigRequest","_UpdateConfigRequest","UpdateConfigRequestMutation","UpdateSAMLServiceProviderConfigRequest","_UpdateSAMLServiceProviderConfigRequest","proto","m","SamlServiceProviderConfig","kwargs","toReturn","UpdateScopeRequest","_UpdateScopeRequest","UpdateScopeRequestMutation","UpdateServiceProviderRequest","_UpdateServiceProviderRequest","ServiceProviderConfig","UpdateServiceProviderRequestMutation","environment","hostMap","HostService","__ngFactoryType__","ɵɵdefineInjectable","ConsentAdminApiService","http","hostService","HttpHeaders","r","request","CreateScopeRequest","__spreadProps","__spreadValues","UpdateScopeRequest","GetMultiScopeRequest","map","resp","GetMultiScopeResponse","ListScopesRequest","ListScopesResponse","DeleteScopeRequest","__ngFactoryType__","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","ServiceProviderAdminApiService","http","hostService","HttpHeaders","r","request","CreateServiceProviderRequest","__spreadProps","__spreadValues","GetServiceProviderRequest","map","resp","GetServiceProviderResponse","UpdateServiceProviderRequest","DeleteServiceProviderRequest","ListServiceProvidersRequest","ListServiceProvidersResponse","CreateConfigRequest","CreateConfigResponse","GetMultiConfigRequest","GetMultiConfigResponse","UpdateConfigRequest","DeleteConfigRequest","ListConfigsRequest","ListConfigsResponse","CreateSamlServiceProviderConfigRequest","CreateSamlServiceProviderConfigResponse","GetSAMLIdentityProviderMetadataRequest","GetSAMLIdentityProviderMetadataResponse","UpdateSAMLServiceProviderConfigRequest","ListSAMLServiceProviderConfigsRequest","ListSAMLServiceProviderConfigsResponse","RegenerateSAMLServiceProviderConfigCertificateRequest","RegenerateSAMLServiceProviderConfigCertificateResponse","DeleteSAMLServiceProviderConfigRequest","__ngFactoryType__","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable"],"x_google_ignoreList":[0]}