Commit 93d18dcb by Carsten Brandt

Update IdentityInterface.php

fixes #3028
parent 4910343a
......@@ -21,6 +21,11 @@ namespace yii\web;
* return static::findOne($id);
* }
*
* public static function findIdentityByAccessToken($token)
* {
* return static::findOne(['access_token' => $token]);
* }
*
* public function getId()
* {
* return $this->id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment