Skip to content

Commit 0ee2ebb

Browse files
committed
Revert "Allow to turn off signature verification"
This reverts commit 56223c7.
1 parent 5d78554 commit 0ee2ebb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/OpenIDConnectClient.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,6 @@ class OpenIDConnectClient
133133
* @var bool Verify peer hostname on transactions
134134
*/
135135
private $verifyHost = true;
136-
137-
/**
138-
* @var bool Verify JWT signature
139-
*
140-
*/
141-
public $verifySignature = true;
142136

143137
/**
144138
* @var string if we acquire an access token it will be stored here
@@ -1588,7 +1582,7 @@ public function getClientSecret() {
15881582
* @return bool
15891583
*/
15901584
public function canVerifySignatures() {
1591-
return (class_exists('\phpseclib\Crypt\RSA') || class_exists('Crypt_RSA')) and ($this->verifySignature);
1585+
return class_exists('\phpseclib\Crypt\RSA') || class_exists('Crypt_RSA');
15921586
}
15931587

15941588
/**

0 commit comments

Comments
 (0)