Skip to content

Commit 9423dbd

Browse files
[3.x] feat: allow to customise the signature_method (#78)
* feat: allow to customise the signature_method * Update VonageChannelServiceProvider.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent c5d8f3a commit 9423dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vonage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function client()
8080
$signatureCredentials = null;
8181

8282
if ($signatureSecret = $this->config['signature_secret'] ?? null) {
83-
$signatureCredentials = new SignatureSecret($this->config['api_key'], $signatureSecret);
83+
$signatureCredentials = new SignatureSecret($this->config['api_key'], $signatureSecret, $this->config['signature_method'] ?? 'md5hash');
8484
}
8585

8686
if ($basicCredentials && $signatureCredentials) {

0 commit comments

Comments
 (0)