PHP Class yii\authclient\SessionStateStorage

See also: StateStorageInterface
See also: Session
Since: 2.1
Author: Paul Klimov ([email protected])
Inheritance: extends yii\base\Component, implements yii\authclient\StateStorageInterface
Datei anzeigen Open project: yiisoft/yii2-authclient

Public Properties

Property Type Description
$session session object or the application component ID of the session object to be used. After the SessionStateStorage object is created, if you want to change this property, you should only assign it with a session object. If not set - application 'session' component will be used, but only, if it is available (e.g. in web application), otherwise - no session will be used and no data saving will be performed.

Public Methods

Method Description
get ( $key )
init ( )
remove ( $key )
set ( $key, $value )

Method Details

get() public method

public get ( $key )

init() public method

public init ( )

remove() public method

public remove ( $key )

set() public method

public set ( $key, $value )

Property Details

$session public_oe property

session object or the application component ID of the session object to be used. After the SessionStateStorage object is created, if you want to change this property, you should only assign it with a session object. If not set - application 'session' component will be used, but only, if it is available (e.g. in web application), otherwise - no session will be used and no data saving will be performed.
public $session