mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Больше не игнорируем JWT InvalidSubjectException
UnauthorizedHttpException в User/Component больше не логгируется
This commit is contained in:
@@ -5,6 +5,13 @@ use common\models\Account;
|
||||
|
||||
interface IdentityInterface extends \yii\web\IdentityInterface {
|
||||
|
||||
/**
|
||||
* @param string $token
|
||||
* @param string $type
|
||||
*
|
||||
* @throws \yii\web\UnauthorizedHttpException
|
||||
* @return IdentityInterface
|
||||
*/
|
||||
public static function findIdentityByAccessToken($token, $type = null): IdentityInterface;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user