Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public isOidcMode(): boolean {
return this.configurations && this.configurations.auth_mode === CONFIG_AUTH_MODE.OIDC_AUTH;
}
public get showTestingServerBtn(): boolean {
return this.currentConfig.auth_mode &&
(this.currentConfig.auth_mode.value === CONFIG_AUTH_MODE.LDAP_AUTH
|| this.currentConfig.auth_mode.value === CONFIG_AUTH_MODE.OIDC_AUTH);
}