@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use app\forms\Login; |
6 | 6 | use yrc\rest\Action as RestAction; |
7 | - |
|
8 | 7 | use yii\web\UnauthorizedHttpException; |
9 | 8 | use Yii; |
10 | 9 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use yrc\rest\Action as RestAction; |
6 | 6 | use yrc\models\redis\EncryptionKey; |
7 | -use Yii; |
|
8 | 7 | |
9 | 8 | class OneTimeKeyAction extends RestAction |
10 | 9 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace yrc\actions; |
4 | 4 | |
5 | 5 | use yrc\actions\AuthenticationAction; |
6 | -use yrc\web\Json25519Parser; |
|
7 | 6 | use yrc\rest\Action as RestAction; |
8 | 7 | use yii\helpers\ArrayHelper; |
9 | 8 | use Yii; |
@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace yrc\filters\auth; |
4 | 4 | |
5 | -use yii\helpers\Json; |
|
6 | 5 | use yii\filters\auth\AuthMethod; |
7 | - |
|
8 | 6 | use Yii; |
9 | 7 | |
10 | 8 | /** |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace yrc\forms; |
4 | 4 | |
5 | -use yii\web\UnauthorizedHttpException; |
|
6 | 5 | use Yii; |
7 | 6 | |
8 | 7 | /** |
@@ -46,10 +46,10 @@ |
||
46 | 46 | return $this->user['class']; |
47 | 47 | } |
48 | 48 | |
49 | - /** |
|
50 | - * Helper method to get the token class |
|
51 | - * @return string |
|
52 | - */ |
|
49 | + /** |
|
50 | + * Helper method to get the token class |
|
51 | + * @return string |
|
52 | + */ |
|
53 | 53 | public function getTokenClass() |
54 | 54 | { |
55 | 55 | return $this->token['class']; |