mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
@ -46,8 +46,8 @@ use yii\base\InvalidConfigException;
|
||||
*
|
||||
* @property string|integer $id The unique identifier for the user. If null, it means the user is a guest.
|
||||
* This property is read-only.
|
||||
* @property IdentityInterface $identity The identity object associated with the currently logged-in user.
|
||||
* Null is returned if the user is not logged in (not authenticated).
|
||||
* @property IdentityInterface|null $identity The identity object associated with the currently logged-in
|
||||
* user. `null` is returned if the user is not logged in (not authenticated).
|
||||
* @property boolean $isGuest Whether the current user is a guest. This property is read-only.
|
||||
* @property string $returnUrl The URL that the user should be redirected to after login. Note that the type
|
||||
* of this property differs in getter and setter. See [[getReturnUrl()]] and [[setReturnUrl()]] for details.
|
||||
|
Reference in New Issue
Block a user