diff --git a/src/Helpers/JWKFetcher.php b/src/Helpers/JWKFetcher.php index c8be0d5b..a8b01e4b 100644 --- a/src/Helpers/JWKFetcher.php +++ b/src/Helpers/JWKFetcher.php @@ -98,7 +98,7 @@ public function getKeys($jwks_url) /** * Fetch x509 cert for RS256 token decoding. * - * TODO: Deprecate, use $this->getFormatted() + * @deprecated 5.6.0, use $this->getKeys(). * * @param string $jwks_url URL to the JWKS. * @param string|null $kid Key ID to use; returns first JWK if $kid is null or empty. @@ -151,7 +151,7 @@ protected function requestJwks($jwks_url) /** * Get a JWK from a JWKS using a key ID, if provided. * - * TODO: Deprecate + * @deprecated 5.6.0, use $this->getKeys(). * * @param array $jwks JWKS to parse. * @param null|string $kid Key ID to return; returns first JWK if $kid is null or empty. @@ -182,7 +182,7 @@ private function findJwk(array $jwks, $kid = null) /** * Check if an array within an array has a non-empty first item. * - * TODO: Deprecate + * @deprecated 5.6.0, not used. * * @param array|null $array Main array to check. * @param string $key Key pointing to a sub-array.