Use RequestValidator instead.
@Deprecated public class RequestSigner extends Object
| Constructor and Description |
|---|
RequestSigner(byte[] key)
Deprecated.
Use
RequestValidator.RequestValidator(String) )} instead. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch(byte[] expectedSignature,
Request request)
Deprecated.
|
boolean |
isMatch(String expectedSignature,
Request request)
Deprecated.
|
@Deprecated public RequestSigner(byte[] key)
RequestValidator.RequestValidator(String) )} instead.key - Signing key. Can be retrieved through
https://dashboard.messagebird.com/developers/settings. This
is NOT your API key.@Deprecated public boolean isMatch(String expectedSignature, Request request)
RequestValidator.validateSignature(String, String, byte[]) instead.expectedSignature - Signature from the MessageBird-Signature
header in its original base64 encoded state.request - Request containing the values from the incoming webhook.@Deprecated public boolean isMatch(byte[] expectedSignature, Request request)
RequestValidator.validateSignature(String, String, byte[]) instead.expectedSignature - Decoded (with base64) signature
from the MessageBird-Signature headerrequest - Request containing the values from the incoming webhook.Copyright © 2024. All rights reserved.