feat(core): Convert saml controller to decorator style (#5653) (no-changelog)

This commit is contained in:
Michael Auerswald
2023-03-10 19:19:52 +01:00
committed by GitHub
parent 90afa5e55f
commit c6ba0bd8de
9 changed files with 180 additions and 173 deletions

View File

@@ -5,6 +5,10 @@ export function isSamlCurrentAuthenticationMethod(): boolean {
return config.getEnv('userManagement.authenticationMethod') === 'saml';
}
export function isEmailCurrentAuthenticationMethod(): boolean {
return config.getEnv('userManagement.authenticationMethod') === 'email';
}
export function isSsoJustInTimeProvisioningEnabled(): boolean {
return config.getEnv('sso.justInTimeProvisioning');
}