SamlConfigurationService
class SamlConfigurationService (View source)
Reads the saml provider and SP settings and builds the OneLogin toolkit settings array.
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(ConfigurationInterface $configManager, LoggerInterface $logger)
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