PHP Class SimpleSAML\IdP\IFrameLogoutHandler

Inheritance: implements SimpleSAML\IdP\LogoutHandlerInterface
Show file Open project: simplesamlphp/simplesamlphp

Public Methods

Method Description
__construct ( SimpleSAML_IdP $idp ) LogoutIFrame constructor.
onResponse ( string $assocId, string | null $relayState, SimpleSAML_Error_Exception $error = null ) Continue the logout operation.
startLogout ( array &$state, string | null $assocId ) Start the logout operation.

Method Details

__construct() public method

LogoutIFrame constructor.
public __construct ( SimpleSAML_IdP $idp )
$idp SimpleSAML_IdP The IdP to log out from.

onResponse() public method

This function will never return.
public onResponse ( string $assocId, string | null $relayState, SimpleSAML_Error_Exception $error = null )
$assocId string The association that is terminated.
$relayState string | null The RelayState from the start of the logout.
$error SimpleSAML_Error_Exception The error that occurred during session termination (if any).

startLogout() public method

Start the logout operation.
public startLogout ( array &$state, string | null $assocId )
$state array
$assocId string | null The SP we are logging out from.