getAuthKey() public abstract method
Returns a key that can be used to check the validity of a given identity ID.
The key should be unique for each individual user, and should be persistent so that it can be used to check the validity of the user identity.
The space of such keys should be big enough to defeat potential identity attacks.
This is required if yii\web\User::$enableAutoLogin is enabled.
See also validateAuthKey().
public abstract string getAuthKey ( ) | ||
---|---|---|
return | string |
A key that is used to check the validity of a given identity ID. |
Please login to continue.