We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830e0c3 commit f4421b5Copy full SHA for f4421b5
src/OpenIdVerificator.php
@@ -53,7 +53,7 @@ public function getPublicKey($kid = null)
53
if (Cache::has(self::V3_CERTS)) {
54
$v3Certs = Cache::get(self::V3_CERTS);
55
} else {
56
- $v3Certs = $this->getv3Certs();
+ $v3Certs = $this->getFreshCertificates();
57
Cache::put(self::V3_CERTS, $v3Certs, Carbon::now()->addSeconds($this->maxAge[self::URL_OPENID_CONFIG]));
58
}
59
@@ -62,7 +62,7 @@ public function getPublicKey($kid = null)
62
return $this->extractPublicKeyFromCertificate($cert);
63
64
65
- private function getv3Certs()
+ private function getFreshCertificates()
66
{
67
$jwksUri = $this->callApiAndReturnValue(self::URL_OPENID_CONFIG, 'jwks_uri');
68
0 commit comments