Skip to content

Commit fb05d37

Browse files
committed
2 parents 15ec918 + 0ee2ebb commit fb05d37

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88

99
### Added
1010
* Added the `getAuthorizationURL` method to get the authorization URL without the redirect
11-
* Allow to turn off signature verification
1211

1312
## [1.1.2]
1413

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
@@ -1589,7 +1583,7 @@ public function getClientSecret() {
15891583
* @return bool
15901584
*/
15911585
public function canVerifySignatures() {
1592-
return (class_exists('\phpseclib\Crypt\RSA') || class_exists('Crypt_RSA')) and ($this->verifySignature);
1586+
return class_exists('\phpseclib\Crypt\RSA') || class_exists('Crypt_RSA');
15931587
}
15941588

15951589
/**

0 commit comments

Comments
 (0)