Skip to content

Commit f4421b5

Browse files
committed
Rename method to be more clear
1 parent 830e0c3 commit f4421b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OpenIdVerificator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function getPublicKey($kid = null)
5353
if (Cache::has(self::V3_CERTS)) {
5454
$v3Certs = Cache::get(self::V3_CERTS);
5555
} else {
56-
$v3Certs = $this->getv3Certs();
56+
$v3Certs = $this->getFreshCertificates();
5757
Cache::put(self::V3_CERTS, $v3Certs, Carbon::now()->addSeconds($this->maxAge[self::URL_OPENID_CONFIG]));
5858
}
5959

@@ -62,7 +62,7 @@ public function getPublicKey($kid = null)
6262
return $this->extractPublicKeyFromCertificate($cert);
6363
}
6464

65-
private function getv3Certs()
65+
private function getFreshCertificates()
6666
{
6767
$jwksUri = $this->callApiAndReturnValue(self::URL_OPENID_CONFIG, 'jwks_uri');
6868

0 commit comments

Comments
 (0)