yii\web\IdentityInterface::validateAuthKey PHP Method

validateAuthKey() public method

This is required if [[User::enableAutoLogin]] is enabled.
See also: getAuthKey()
public validateAuthKey ( string $authKey ) : boolean
$authKey string the given auth key
return boolean whether the given auth key is valid.
    public function validateAuthKey($authKey);