authenticateRequest
return a token created using options.authentication or set on options.token
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
options Required | INewslettersRequestOptions |
Returns
{Promise
Promise<string>
Function defined in common/src/newsletters/api/utils/authenticate-request.ts:10