SamlConfigurationService
class SamlConfigurationService extends LoggingService (View source)
Properties
| protected Logger | $logger | from LoggingService |
Methods
No description
Return a human-readable reason why the SAML provider configuration is unusable, or null if it passes all checks. Mirrors the validation performed by getProviderConfig() so callers can surface the actual cause (missing entity_id, malformed x509cert, ...) to end users instead of a generic "not found or not configured" message.
No description
No description
No description
Auto-provisioning aborts for any user who matches no group mapping when there is no default template to fall back on, so the login fails with a generic error. Reported to superusers on the dashboard.
No description
Generate OneLogin SAML settings array from configuration
Details
__construct(ConfigurationManager $configManager, Logger $logger)
No description
protected void
logDebug(string $message, array $context = [])
No description
protected void
logInfo(string $message, array $context = [])
No description
protected void
logWarning(string $message, array $context = [])
No description
protected void
logError(string $message, array $context = [])
No description
array|null
getProviderConfig(string $providerId)
No description
string|null
describeProviderConfigError(string $providerId)
Return a human-readable reason why the SAML provider configuration is unusable, or null if it passes all checks. Mirrors the validation performed by getProviderConfig() so callers can surface the actual cause (missing entity_id, malformed x509cert, ...) to end users instead of a generic "not found or not configured" message.
array
getAllProviderConfigs()
No description
array
getServiceProviderConfig()
No description
array
validatePermissionTemplateMapping()
No description
bool
isAutoProvisioningTemplateMissing()
Auto-provisioning aborts for any user who matches no group mapping when there is no default template to fall back on, so the login fails with a generic error. Reported to superusers on the dashboard.
bool
isEnabled()
No description
array
generateOneLoginSettings(string $providerId)
Generate OneLogin SAML settings array from configuration