Previous Page
processLogout()

Solar_Auth_Adapter_Ldap
reset()

Next Page
start()

reset()

public void reset ( string $status default 'ANON', array $info default array () )

Resets any authentication data in the session.

Inherited from Solar_Auth_Adapter.

Parameters

  • (string) $status: A Solar_Auth status string; default is 'ANON'.
  • (array) $info: If status is 'VALID', populate properties with this user data, with keys for 'handle', 'email', 'moniker', 'uri', and 'uid'. If a key is empty or does not exist, its value is set to null.

Returns

  • (void)

Description

Resets any authentication data in the session.

Note that this will start a session if one is not already in progress.

Typically used for idling, expiration, and logout. Calls session_regenerate_id() to clear previous session.