web\IdentityInterface

Interface yii\web\IdentityInterface

Implemented by yii\debug\models\search\UserSearchInterface
Available since version 2.0
Source Code https://github.com/yiisoft/yii2/blob/master/framework/web/IdentityInterface.php

IdentityInterface is the interface that should be implemented by a class providing identity information.

This interface can typically be implemented by a user model class. For example, the following code shows how to implement thi