@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
22 lines (21 loc) • 761 B
TypeScript
import SignatureType from './SignatureType';
/**
* @export
* @class WebhookSignature
*/
export declare class WebhookSignature {
/**
* The signature type used for the webhook. Selects one of the supported signatures. The signature is attached to the list of headers with the key `Bitmovin-Signature`. In case of the `HMAC` type the SHA512 hashing algorithm is used to generate an authentication code from the webhook body. (required)
* @type {SignatureType}
* @memberof WebhookSignature
*/
type?: SignatureType;
/**
* The key of the signature (required)
* @type {string}
* @memberof WebhookSignature
*/
key?: string;
constructor(obj?: Partial<WebhookSignature>);
}
export default WebhookSignature;