Skip to content

nsuite v2.2.1


nsuite / getMacFromQiniuOSS

Function: getMacFromQiniuOSS() ​

getMacFromQiniuOSS(payload): Mac

Defined in: UtilsQiniuOSS.ts:229

Creates Qiniu credentials used to sign storage and CDN requests.

Parameters ​

payload ​

ParamsQiniuOSSGetMac

The access key, secret key, and optional credential settings.

Returns ​

Mac

A Qiniu MAC instance.

Released under the Apache-2.0 License.