class OidcConfigurationService extends LoggingService (View source)

Properties

protected Logger $logger from  LoggingService

Methods

__construct(ConfigurationManager $configManager, Logger $logger)

No description

void
logDebug(string $message, array $context = [])

No description

void
logInfo(string $message, array $context = [])

No description

void
logWarning(string $message, array $context = [])

No description

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 OIDC provider configuration is unusable on the basis of static settings, or null if those static checks pass. Does not perform discovery network calls, so this is safe to call during provider listing (closes #1218).

array
getAllProviderConfigs()

No description

array
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

Details

__construct(ConfigurationManager $configManager, Logger $logger)

No description

Parameters

ConfigurationManager $configManager
Logger $logger

protected void logDebug(string $message, array $context = [])

No description

Parameters

string $message
array $context

Return Value

void

protected void logInfo(string $message, array $context = [])

No description

Parameters

string $message
array $context

Return Value

void

protected void logWarning(string $message, array $context = [])

No description

Parameters

string $message
array $context

Return Value

void

protected void logError(string $message, array $context = [])

No description

Parameters

string $message
array $context

Return Value

void

array|null getProviderConfig(string $providerId)

No description

Parameters

string $providerId

Return Value

array|null

string|null describeProviderConfigError(string $providerId)

Return a human-readable reason why the OIDC provider configuration is unusable on the basis of static settings, or null if those static checks pass. Does not perform discovery network calls, so this is safe to call during provider listing (closes #1218).

Parameters

string $providerId

Return Value

string|null

array getAllProviderConfigs()

No description

Return Value

array

array validatePermissionTemplateMapping()

No description

Return Value

array

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.

Return Value

bool

bool isEnabled()

No description

Return Value

bool