Zitadel PHP Client 1.3.6
PHP Client for Zitadel
Loading...
Searching...
No Matches
Terminate Class Reference

Public Member Functions

 __construct (array $settings)
 
 setSessionId (string $sessionId)
 
 setSessionToken (string $sessionToken)
 
 terminate ()
 

Detailed Description

Terminate a session.

Definition at line 10 of file Terminate.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( array $settings)

Initialize the Session Termination

Parameters
$settingsarray The settings array

Definition at line 19 of file Terminate.php.

Member Function Documentation

◆ setSessionId()

setSessionId ( string $sessionId)

Set the session id

Parameters
$sessionIdstring ID of the session to terminate
Returns
void

Definition at line 27 of file Terminate.php.

◆ setSessionToken()

setSessionToken ( string $sessionToken)

Set the session token

Parameters
string$sessionTokenThe current token of the session, returned to a create or update request.
Returns
void

Definition at line 35 of file Terminate.php.

◆ terminate()

terminate ( )

Terminate the session

Returns
void
Exceptions
ExceptionReturns an exception, if the communication with Zitadel fails

Definition at line 43 of file Terminate.php.


The documentation for this class was generated from the following file: