// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class GetUserSsoSettingsResponseBodyUserSsoSettings extends $dara.Model { /** * @remarks * The supported signature algorithm. Valid values: * * - rsa-sha256 * * - rsa-sha1 * * @example * rsa-sha1 */ authnSignAlgo?: string; /** * @remarks * The auxiliary domain name. * * @example * example.com */ auxiliaryDomain?: string; /** * @remarks * The metadata file, which is Base64-encoded. * * @example * PD94bWwgdmVy**** */ metadataDocument?: string; /** * @remarks * Indicates whether user-based SSO is enabled. * * @example * false */ ssoEnabled?: boolean; /** * @remarks * Indicates whether the Security Assertion Markup Language (SAML) SSO requires a domain name in the `` element of the SAML response. If yes, the username specified by the identity provider (IdP) for SSO must have a domain name as the suffix. * * - If the value of the parameter is `true`, the `` element **must** be in the `username@domain` format. You can set `domain` to the default domain name or the configured domain alias. * * - If the value of the parameter is `false`, the `` element **must** be in the `username` format and **cannot** contain the `domain` suffix. * * The default value is `true`. * * @example * true */ ssoLoginWithDomain?: boolean; static names(): { [key: string]: string } { return { authnSignAlgo: 'AuthnSignAlgo', auxiliaryDomain: 'AuxiliaryDomain', metadataDocument: 'MetadataDocument', ssoEnabled: 'SsoEnabled', ssoLoginWithDomain: 'SsoLoginWithDomain', }; } static types(): { [key: string]: any } { return { authnSignAlgo: 'string', auxiliaryDomain: 'string', metadataDocument: 'string', ssoEnabled: 'boolean', ssoLoginWithDomain: 'boolean', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class GetUserSsoSettingsResponseBody extends $dara.Model { /** * @remarks * The request ID. * * @example * 69FC3E5E-D3D9-434B-90CA-BBA8E0551A47 */ requestId?: string; /** * @remarks * The configurations of user-based SSO. */ userSsoSettings?: GetUserSsoSettingsResponseBodyUserSsoSettings; static names(): { [key: string]: string } { return { requestId: 'RequestId', userSsoSettings: 'UserSsoSettings', }; } static types(): { [key: string]: any } { return { requestId: 'string', userSsoSettings: GetUserSsoSettingsResponseBodyUserSsoSettings, }; } validate() { if(this.userSsoSettings && typeof (this.userSsoSettings as any).validate === 'function') { (this.userSsoSettings as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }