Skip to content

Commit fa1729f

Browse files
committed
Remove unused validateIssuer method
1 parent 490a9aa commit fa1729f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/OpenIDConnectClient.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,20 +1269,6 @@ public function verifySignatures(JWS $jws)
12691269
}
12701270
}
12711271

1272-
/**
1273-
* @param string $iss
1274-
* @return bool
1275-
* @throws OpenIDConnectClientException
1276-
*/
1277-
protected function validateIssuer(string $iss): bool
1278-
{
1279-
if ($this->issuerValidator !== null) {
1280-
return $this->issuerValidator->__invoke($iss);
1281-
}
1282-
1283-
return ($iss === $this->getIssuer() || $iss === $this->getWellKnownIssuer() || $iss === $this->getWellKnownIssuer(true));
1284-
}
1285-
12861272
public function urlEncode(string $str): string
12871273
{
12881274
$enc = base64_encode($str);

0 commit comments

Comments
 (0)