{"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(t) {\n return new (t || 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(t) {\n return new (t || 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(t) {\n return new (t || 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(t) {\n return new (t || 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(t) {\n return new (t || 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(t) {\n return new (t || 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(t) {\n return new (t || 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(t) {\n return new (t || 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":"8JA2DA,IAAMA,EAAN,MAAMC,CAAsB,CAC1B,OAAO,UAAUC,EAAO,CACtB,IAAIC,EAAI,IAAIF,EACZ,OAAAE,EAAI,OAAO,OAAOA,EAAGD,CAAK,EACnBC,CACT,CACA,YAAYC,EAAQ,CACbA,GAGL,OAAO,OAAO,KAAMA,CAAM,CAC5B,CACA,WAAY,CACV,IAAMC,EAAW,CAAC,EAClB,OAAI,OAAO,KAAK,UAAc,MAC5BA,EAAS,UAAe,KAAK,WAExBA,CACT,CACF,EACMC,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AAK9B,GAAe+B,EAASC,EAA0B,EAAMD,EAASE,EAAsB,EAAMF,EAASG,EAAyB,EAAMH,EAASI,CAAW,CAAC,CAC7K,EACAnC,EAAW,WAA0BoC,EAAmB,CACtD,MAAOpC,EACP,QAASA,EAAW,UACpB,WAAY,MACd,CAAC,EACMA,CACT,GAAG,EAIH,SAASqC,GAAyBC,EAAW,CAC3C,OAAO,IAAIC,EAAe,CACxB,QAAS,IAAIC,EAAsB,CACjC,UAAWF,CACb,CAAC,CACH,CAAC,CACH,CACA,SAASG,GAAyBC,EAAW,CAC3C,OAAO,IAAIH,EAAe,CACxB,QAAS,IAAII,EAAsB,CACjC,UAAWD,CACb,CAAC,CACH,CAAC,CACH","names":["ServiceContextAccount","_ServiceContextAccount","proto","m","kwargs","toReturn","AutoImpersonation","_AutoImpersonation","ServiceContextBrand","_ServiceContextBrand","NoImpersonation","_NoImpersonation","ServiceContextPartner","_ServiceContextPartner","ServiceContext","_ServiceContext","ServiceContextSuperAdmin","_ServiceContextSuperAdmin","Scope","_Scope","proto","m","kwargs","toReturn","IdentityProviderConfiguration","_IdentityProviderConfiguration","proto","m","OpenIDConnectConfiguration","OAuth2Configuration","kwargs","toReturn","_OAuth2Configuration","_OpenIDConnectConfiguration","CreateIdentityProviderConfigurationRequest","_CreateIdentityProviderConfigurationRequest","proto","m","OpenIDConnectConfiguration","OAuth2Configuration","kwargs","toReturn","CreateScopeRequest","_CreateScopeRequest","proto","m","kwargs","toReturn","DeleteIdentityProviderConfigurationRequest","_DeleteIdentityProviderConfigurationRequest","proto","m","kwargs","toReturn","DeleteScopeRequest","_DeleteScopeRequest","proto","m","kwargs","toReturn","GetEntryURLRequest","_GetEntryURLRequest","proto","m","ServiceContext","AutoImpersonation","NoImpersonation","kwargs","toReturn","GetEntryURLResponse","_GetEntryURLResponse","GetEntryURLWithCodeRequest","_GetEntryURLWithCodeRequest","GetEntryURLWithCodeResponse","_GetEntryURLWithCodeResponse","GetIdentityProviderConfigurationRequest","_GetIdentityProviderConfigurationRequest","GetIdentityProviderConfigurationResponse","_GetIdentityProviderConfigurationResponse","IdentityProviderConfiguration","GetLogoutURLRequest","_GetLogoutURLRequest","GetLogoutURLResponse","_GetLogoutURLResponse","GetMultiEntryURLRequest","_GetMultiEntryURLRequest","proto","m","ServiceContext","AutoImpersonation","NoImpersonation","kwargs","toReturn","GetMultiEntryURLResponse","_GetMultiEntryURLResponse","GetMultiScopeRequest","_GetMultiScopeRequest","GetMultiScopeResponse","_GetMultiScopeResponse","GetMultiScopeResponseScopeContainer","GetSessionTransferURLRequest","_GetSessionTransferURLRequest","proto","m","ServiceContext","kwargs","toReturn","GetSessionTransferURLResponse","_GetSessionTransferURLResponse","HasCustomIdentityProviderRequest","_HasCustomIdentityProviderRequest","HasCustomIdentityProviderResponse","_HasCustomIdentityProviderResponse","ListScopesRequest","_ListScopesRequest","proto","m","kwargs","toReturn","ListScopesResponse","_ListScopesResponse","Scope","LogoutRequest","_LogoutRequest","proto","m","kwargs","toReturn","UpdateScopeRequestMutation","_UpdateScopeRequestMutation","UpdateIdentityProviderConfigurationRequestMutation","_UpdateIdentityProviderConfigurationRequestMutation","UpdateIdentityProviderConfigurationRequestMutationOpenIDConnectConfigurationMutation","OpenIDConnectConfiguration","UpdateIdentityProviderConfigurationRequestMutationOAuth2ConfigurationMutation","OAuth2Configuration","UpdateIdentityProviderConfigurationRequestMutationOAuth2ConfigurationMutation","_UpdateIdentityProviderConfigurationRequestMutationOAuth2ConfigurationMutation","proto","m","kwargs","toReturn","UpdateIdentityProviderConfigurationRequestMutationOpenIDConnectConfigurationMutation","_UpdateIdentityProviderConfigurationRequestMutationOpenIDConnectConfigurationMutation","GetMultiScopeResponseScopeContainer","_GetMultiScopeResponseScopeContainer","proto","m","Scope","kwargs","toReturn","UpdateIdentityProviderConfigurationRequest","_UpdateIdentityProviderConfigurationRequest","proto","m","UpdateIdentityProviderConfigurationRequestMutation","kwargs","toReturn","UpdateScopeRequest","_UpdateScopeRequest","proto","m","UpdateScopeRequestMutation","kwargs","toReturn","ConsumeSingleUseTokenRequest","_ConsumeSingleUseTokenRequest","proto","m","kwargs","toReturn","environment","hostMap","HostService","t","ɵɵdefineInjectable","ConsentAdminApiService","http","hostService","HttpHeaders","r","request","CreateScopeRequest","__spreadProps","__spreadValues","UpdateScopeRequest","GetMultiScopeRequest","map","resp","GetMultiScopeResponse","ListScopesRequest","ListScopesResponse","DeleteScopeRequest","t","ɵɵinject","HttpClient","HostService","ɵɵdefineInjectable","IdentityProviderApiService","GetEntryURLRequest","GetEntryURLResponse","GetMultiEntryURLRequest","GetMultiEntryURLResponse","GetEntryURLWithCodeRequest","GetEntryURLWithCodeResponse","LogoutRequest","ConsumeSingleUseTokenRequest","params","apiJson","key","value","IdentityProviderAdminApiService","CreateIdentityProviderConfigurationRequest","UpdateIdentityProviderConfigurationRequest","GetIdentityProviderConfigurationRequest","GetIdentityProviderConfigurationResponse","DeleteIdentityProviderConfigurationRequest","HasCustomIdentityProviderRequest","HasCustomIdentityProviderResponse","ServiceProviderApiService","GetSessionTransferURLRequest","GetSessionTransferURLResponse","GetLogoutURLRequest","GetLogoutURLResponse","serviceGatewayPath","SSOService","identityProviderApiService","consentAdminApiService","serviceProviderApiService","hostService","serviceProviderId","context","options","request","GetEntryURLRequest","NoImpersonation","AutoImpersonation","map","resp","share","serviceProviderIds","GetMultiEntryURLRequest","scopeIds","GetMultiScopeRequest","GetSessionTransferURLRequest","userID","otp","nextUrl","ConsumeSingleUseTokenRequest","serviceProviderID","accountID","nextPath","host","query","groupPath","t","ɵɵinject","IdentityProviderApiService","ConsentAdminApiService","ServiceProviderApiService","HostService","ɵɵdefineInjectable","newAccountServiceContext","accountId","ServiceContext","ServiceContextAccount","newPartnerServiceContext","partnerId","ServiceContextPartner"],"x_google_ignoreList":[0]}