PHP Class SimpleSAML\IdP\TraditionalLogoutHandler

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

Public Methods

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

Private Methods

Method Description
logoutNextSP ( array &$state ) Picks the next SP and issues a logout request.

Method Details

__construct() public method

TraditionalLogout 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

This function never returns.
public startLogout ( array &$state, string $assocId )
$state array
$assocId string The association that started the logout.