Add deprecation notices

This commit is contained in:
ErickSkrauch 2019-12-11 14:24:31 +03:00
parent 2caf0558de
commit 9da58beccf
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,10 @@ class Component extends BaseComponent {
/**
* @var string
* @deprecated In earlier versions of the application, JWT were signed by a synchronous encryption algorithm.
* Now asynchronous encryption is used instead, and this logic is saved for a transitional period.
* I think it can be safely removed, but I'll not do it yet, because at the time of writing the comment
* there were enough changes in the code already.
*/
public $hmacKey;

View File

@ -25,6 +25,10 @@ use yii\db\ActiveRecord;
* Behaviors:
* @mixin TimestampBehavior
* @mixin PrimaryKeyValueBehavior
*
* @deprecated This table is no longer used to store authorization information in Minecraft.
* In time it will be empty (see the cleanup console command) and when it does, this model,
* the table in the database and everything related to the old logic can be removed.
*/
class MinecraftAccessKey extends ActiveRecord {