web\User $enableAutoLogin

$enableAutoLogin public property Whether to enable cookie-based login. Defaults to false. Note that this property will be ignored if $enableSession is false. public boolean $enableAutoLogin = false

web\User $authTimeoutParam

$authTimeoutParam public property The session variable name used to store the value of expiration timestamp of the authenticated state. This is used when $authTimeout is set. public string $authTimeoutParam = '__expire'

web\User $autoRenewCookie

$autoRenewCookie public property Whether to automatically renew the identity cookie each time a page is requested. This property is effective only when $enableAutoLogin is true. When this is false, the identity cookie will expire after the specified duration since the user is initially logged in. When this is true, the identity cookie will expire after the specified duration since the user visits the site the last time. See also $enableAutoLogin. public boolean $autoRenewCookie = true

web\User $authTimeout

$authTimeout public property The number of seconds in which the user will be logged out automatically if he remains inactive. If this property is not set, the user will be logged out after the current session expires (c.f. yii\web\Session::$timeout). Note that this will not work if $enableAutoLogin is true. public integer $authTimeout = null

web\User $absoluteAuthTimeout

$absoluteAuthTimeout public property The number of seconds in which the user will be logged out automatically regardless of activity. Note that this will not work if $enableAutoLogin is true. public integer $absoluteAuthTimeout = null

web\User $accessChecker

$accessChecker public property (available since version 2.0.9) The access checker to use for checking access. If not set the application auth manager will be used. public yii\rbac\CheckAccessInterface $accessChecker = null

web\User $acceptableRedirectTypes

$acceptableRedirectTypes public property (available since version 2.0.8) MIME types for which this component should redirect to the $loginUrl. public array $acceptableRedirectTypes = ['text/html', 'application/xhtml+xml']

web\User $absoluteAuthTimeoutParam

$absoluteAuthTimeoutParam public property The session variable name used to store the value of absolute expiration timestamp of the authenticated state. This is used when $absoluteAuthTimeout is set. public string $absoluteAuthTimeoutParam = '__absoluteExpire'

web\UrlRuleInterface parseRequest()

parseRequest() public abstract method Parses the given request and returns the corresponding route and parameters. public abstract array|boolean parseRequest ( $manager, $request )$manager yii\web\UrlManager The URL manager $request yii\web\Request The request component return array|boolean The parsing result. The route and the parameters are returned as an array. If false, it means this rule cannot be used to parse this path info.

web\UrlRuleInterface createUrl()

createUrl() public abstract method Creates a URL according to the given route and parameters. public abstract string|boolean createUrl ( $manager, $route, $params )$manager yii\web\UrlManager The URL manager $route string The route. It should not have slashes at the beginning or the end. $params array The parameters return string|boolean The created URL, or false if this rule cannot be used for creating this URL.