Returns Filestack base64 policy and HMAC-SHA256 signature
import * as filestack from 'filestack-js';const jsonPolicy = { 'expiry': 253381964415 };const security = filestack.getSecurity(jsonPolicy, '<YOUR_APP_SECRET>');
Returns Filestack base64 policy and HMAC-SHA256 signature
Example