Function: hashAuthorizationCode()
hashAuthorizationCode(
args):string
Defined in: auth-core/src/oauth.ts:51
Hashes a raw authorization code with SHA-256 (hex output). Use this at consumption time to look up the stored record by hash.
Parameters
| Parameter | Type |
|---|---|
args | { code: string; } |
args.code | string |
Returns
string