Authorization helpers for Qiniu CDN.
Implements Qiniu's HMAC-SHA1 signing protocol for both upload tokens and download URL authorization.
Summary
Functions
@spec authorize_download_url(ExOss.Client.Client.t(), binary(), non_neg_integer()) :: binary()
@spec generate_uptoken(ExOss.Client.Client.t(), ExOss.CDN.Qiniu.PutPolicy.t()) :: String.t()