diff --git a/src/Jwt.php b/src/Jwt.php index c647ada..fa8f26c 100644 --- a/src/Jwt.php +++ b/src/Jwt.php @@ -50,8 +50,6 @@ class Jwt extends Component public const EDDSA = 'EdDSA'; public const BLAKE2B = 'BLAKE2B'; - public const STORE_IN_MEMORY = 'in_memory'; - public const METHOD_PLAIN = 'plain'; public const METHOD_BASE64 = 'base64'; public const METHOD_FILE = 'file'; @@ -60,7 +58,6 @@ class Jwt extends Component public const ASYMMETRIC = 'asymmetric'; public const KEY = 'key'; - public const STORE = 'store'; public const METHOD = 'method'; public const PASSPHRASE = 'passphrase'; @@ -79,7 +76,7 @@ class Jwt extends Component * 'method' => Jwt::METHOD_PLAIN, * 'passphrase' => '', * ] - * In case a simple string is provided and it does start with 'file://' (direct file path) or '@' (Yii alias) + * In case a simple string is provided, and it does start with 'file://' (direct file path) or '@' (Yii alias) * the following configuration is assumed: * [ * 'key' => // the original given value, diff --git a/tests/SignerTest.php b/tests/SignerTest.php index 3391585..1f91544 100644 --- a/tests/SignerTest.php +++ b/tests/SignerTest.php @@ -129,7 +129,6 @@ public static function providerForSigners(): iterable 'signer' => Jwt::RS256, 'signingKey' => [ Jwt::KEY => 'file://' . __DIR__ . '/data/rs256.key', - Jwt::STORE => Jwt::STORE_IN_MEMORY, Jwt::METHOD => Jwt::METHOD_FILE, ], 'verifyingKey' => 'file://' . __DIR__ . '/data/rs256.key.pub',