From 0cc388185a4baac7e917e965b43de8b92ebb9196 Mon Sep 17 00:00:00 2001 From: Josh Cunningham Date: Thu, 26 Sep 2019 08:36:17 -0700 Subject: [PATCH] Deprecated unused JWKFetcher methods --- src/Helpers/JWKFetcher.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.