|
@@ -47,7 +47,7 @@ discard block |
|
|
block discarded – undo |
|
47
|
47
|
return $this->jwsBuilder; |
|
48
|
48
|
} |
|
49
|
49
|
|
|
50
|
|
- if (! \class_exists(HS256::class)) { |
|
|
50
|
+ if (!\class_exists(HS256::class)) { |
|
51
|
51
|
throw new LogicException('To use the client_secret_jwt auth method you should install web-token/jwt-signature-algorithm-hmac package'); |
|
52
|
52
|
} |
|
53
|
53
|
|
|
@@ -62,7 +62,7 @@ discard block |
|
|
block discarded – undo |
|
62
|
62
|
$clientId = $client->getMetadata()->getClientId(); |
|
63
|
63
|
$clientSecret = $client->getMetadata()->getClientSecret(); |
|
64
|
64
|
|
|
65
|
|
- if (! $clientSecret) { |
|
|
65
|
+ if (!$clientSecret) { |
|
66
|
66
|
throw new InvalidArgumentException($this->getSupportedMethod() . ' cannot be used without client_secret metadata'); |
|
67
|
67
|
} |
|
68
|
68
|
|
Please login to merge, or discard this patch.