MultiIdPConfigurationLoader
in package
implements
ConfigurationLoaderInterface, LoggerAwareInterface
Uses
LoggerAwareTrait
Configuration loader for Multiple IdPs
Tags
Interfaces, Classes, Traits and Enums
- ConfigurationLoaderInterface
- Configuration loader interface
- LoggerAwareInterface
Table of Contents
- $config : Config
- Configured IdPs with entityId and overridden attribute mapping
- $shibConfig : Config
- Configured IdPs with entityId and overridden attribute mapping
- __construct() : mixed
- Constructor
- getConfiguration() : array<string|int, mixed>
- Return shibboleth configuration.
- debug() : void
- Log a debug message.
- log() : void
- Send a message to the logger.
- logError() : void
- Log an error message.
- logWarning() : void
- Log a warning message.
Properties
$config
Configured IdPs with entityId and overridden attribute mapping
protected
Config
$config
$shibConfig
Configured IdPs with entityId and overridden attribute mapping
protected
Config
$shibConfig
Methods
__construct()
Constructor
public
__construct(Config $config, Config $shibConfig) : mixed
Parameters
- $config : Config
-
Configuration
- $shibConfig : Config
-
Shibboleth configuration for IdPs
Return values
mixed —getConfiguration()
Return shibboleth configuration.
public
getConfiguration(string $entityId) : array<string|int, mixed>
Parameters
- $entityId : string
-
entity Id
Tags
Return values
array<string|int, mixed> —shibboleth configuration
debug()
Log a debug message.
protected
debug(string $msg[, array<string|int, mixed> $context = [] ][, bool $prependClass = true ]) : void
Parameters
- $msg : string
-
Log message
- $context : array<string|int, mixed> = []
-
Log context
- $prependClass : bool = true
-
Prepend class name to message?
Return values
void —log()
Send a message to the logger.
protected
log(string $level, string $message[, array<string|int, mixed> $context = [] ][, bool $prependClass = false ]) : void
Parameters
- $level : string
-
Log level
- $message : string
-
Log message
- $context : array<string|int, mixed> = []
-
Log context
- $prependClass : bool = false
-
Prepend class name to message?
Return values
void —logError()
Log an error message.
protected
logError(string $msg[, array<string|int, mixed> $context = [] ][, bool $prependClass = true ]) : void
Parameters
- $msg : string
-
Log message
- $context : array<string|int, mixed> = []
-
Log context
- $prependClass : bool = true
-
Prepend class name to message?
Return values
void —logWarning()
Log a warning message.
protected
logWarning(string $msg[, array<string|int, mixed> $context = [] ][, bool $prependClass = true ]) : void
Parameters
- $msg : string
-
Log message
- $context : array<string|int, mixed> = []
-
Log context
- $prependClass : bool = true
-
Prepend class name to message?