web\User $returnUrlParam

$returnUrlParam public property The session variable name used to store the value of $returnUrl. public string $returnUrlParam = '__returnUrl'

web\User $returnUrl

$returnUrl public property The URL that the user should be redirected to after login. public string getReturnUrl ( $defaultUrl = null )public void setReturnUrl ( $url )

web\User $loginUrl

$loginUrl public property The URL for login when loginRequired() is called. If an array is given, yii\web\UrlManager::createUrl() will be called to create the corresponding URL. The first element of the array should be the route to the login action, and the rest of the name-value pairs are GET parameters used to construct the login URL. For example, ['site/login', 'ref' => 1] If this property is null, a 403 HTTP exception will be raised when loginRequired() is called. public string|arr

web\User $isGuest

$isGuest public read-only property Whether the current user is a guest. public boolean getIsGuest ( )

web\User $idParam

$idParam public property The session variable name used to store the value of $id. public string $idParam = '__id'

web\User $identityCookie

$identityCookie public property The configuration of the identity cookie. This property is used only when $enableAutoLogin is true. See also yii\web\Cookie. public array $identityCookie = ['name' => '_identity', 'httpOnly' => true]

web\User $identityClass

$identityClass public property The class name of the $identity object. public string $identityClass = null

web\User $identity

$identity public property The identity object associated with the currently logged-in user. null is returned if the user is not logged in (not authenticated). public yii\web\IdentityInterface|null getIdentity ( $autoRenew = true )public void setIdentity ( $identity )

web\User $id

$id public read-only property The unique identifier for the user. If null, it means the user is a guest. public string|integer getId ( )

web\User $enableSession

$enableSession public property Whether to use session to persist authentication status across multiple requests. You set this property to be false if your application is stateless, which is often the case for RESTful APIs. public boolean $enableSession = true