>For example?

i am about that was written above, i think that auth-token perfectly fits on it no?
https://github.com/yiisoft/yii2/blob/master/framework/web/User.php#L229
https://github.com/yiisoft/yii2/blob/master/apps/basic/models/User.php#L70