Skip to content

Commit

Permalink
Deprecated unused JWKFetcher methods
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcanhelp committed Sep 26, 2019
1 parent d8127d7 commit b8f1ac1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Helpers/JWKFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit b8f1ac1

Please sign in to comment.