import { ApiKeyCredentials , ApiKeyCredentialOptions } from "./apiKeyCredentials" ; export class DomainCredentials extends ApiKeyCredentials { constructor param { string } domainKey constructor ( domainKey ) { if ( ! domainKey || ( domainKey && typeof domainKey !== "string" ) ) { throw new Error ( "domainKey cannot be null or undefined and must be of type string." ) ; } const options = { inHeader : { "aeg-sas-key" : domainKey , } , } ; super ( options ) ; } }