Class .
More...
Class .
Definition at line 8 of file MockContainer.php.
◆ debugMessage()
SAML2\Compat\MockContainer::debugMessage |
( |
|
$message, |
|
|
|
$type |
|
) |
| |
Log an incoming message to the debug log.
Type can be either:
- in XML received from third party
- out XML that will be sent to third party
- encrypt XML that is about to be encrypted
- decrypt XML that was just decrypted
- Parameters
-
string | $message | |
string | $type | |
- Returns
- void
Definition at line 70 of file MockContainer.php.
References $message, and $type.
catch(Exception $e) $message
◆ generateId()
SAML2\Compat\MockContainer::generateId |
( |
| ) |
|
◆ getLogger()
SAML2\Compat\MockContainer::getLogger |
( |
| ) |
|
Get a PSR-3 compatible logger.
- Returns
Definition at line 44 of file MockContainer.php.
46 return new \Psr\Log\NullLogger();
◆ postRedirect()
SAML2\Compat\MockContainer::postRedirect |
( |
|
$url, |
|
|
|
$data = array() |
|
) |
| |
Trigger the user to perform a POST to the given URL with the given data.
- Parameters
-
- Returns
- void
Definition at line 95 of file MockContainer.php.
References $data, and $url.
97 $this->postRedirectUrl =
$url;
98 $this->postRedirectData =
$data;
◆ redirect()
SAML2\Compat\MockContainer::redirect |
( |
|
$url, |
|
|
|
$data = array() |
|
) |
| |
Trigger the user to perform a GET to the given URL with the given data.
- Parameters
-
- Returns
- void
Definition at line 82 of file MockContainer.php.
References $data, and $url.
84 $this->redirectUrl =
$url;
85 $this->redirectData =
$data;
◆ $debugMessages
SAML2\Compat\MockContainer::$debugMessages = array() |
|
private |
◆ $id
SAML2\Compat\MockContainer::$id = '123' |
|
private |
◆ $postRedirectData
SAML2\Compat\MockContainer::$postRedirectData |
|
private |
◆ $postRedirectUrl
SAML2\Compat\MockContainer::$postRedirectUrl |
|
private |
◆ $redirectData
SAML2\Compat\MockContainer::$redirectData |
|
private |
◆ $redirectUrl
SAML2\Compat\MockContainer::$redirectUrl |
|
private |
The documentation for this class was generated from the following file: