feat(core): Add saml feature flag (#5494)

adds saml feature flag
This commit is contained in:
Michael Auerswald
2023-02-16 15:05:39 +01:00
committed by GitHub
parent fcac1ddd9f
commit 3a9c257f55
6 changed files with 23 additions and 0 deletions

View File

@@ -102,6 +102,10 @@ export class License {
return this.isFeatureEnabled(LICENSE_FEATURES.LDAP);
}
isSamlEnabled() {
return this.isFeatureEnabled(LICENSE_FEATURES.SAML);
}
getCurrentEntitlements() {
return this.manager?.getCurrentEntitlements() ?? [];
}