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
Afficher le fichier Open project: yiisoft/yii2-authclient

Méthodes publiques

Свойство 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.

Méthodes publiques

Méthode Description
get ( $key )
init ( )
remove ( $key )
set ( $key, $value )

Method Details

get() public méthode

public get ( $key )

init() public méthode

public init ( )

remove() public méthode

public remove ( $key )

set() public méthode

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