Extends | yii\web\IdentityInterface |
---|---|
Available since version | 2.0.10 |
Source Code | https://github.com/yiisoft/yii2-debug/blob/master/models/search/UserSearchInterface.php |
UserSearchInterface is the interface that should be implemented by a class providing identity information and search method.
Method | Description | Defined By |
---|---|---|
findIdentity() | Finds an identity by the given ID. | yii\web\IdentityInterface |
findIdentityByAccessToken() | Finds an identity by the given token. | yii\web\IdentityInterface |
getAuthKey() | Returns a key that can be used to check the validity of a given identity ID. | yii\web\IdentityInterface |
getId() | Returns an ID that can uniquely identify a user identity. | yii\web\IdentityInterface |
search() | Creates data provider instance with search query applied. | yii\debug\models\search\UserSearchInterface |
validateAuthKey() | Validates the given auth key. | yii\web\IdentityInterface |
Creates data provider instance with search query applied.
public abstract yii\data\DataProviderInterface search ( $params ) | ||
---|---|---|
$params | array |
The data array to load model. |
© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc-2.0/yii-debug-models-search-usersearchinterface.html