Skip to main content

Function: hashAuthorizationCode()

hashAuthorizationCode(args): string

Defined in: oauth.ts:49

Hashes a raw authorization code with SHA-256 (hex output). Use this at consumption time to look up the stored record by hash.

Parameters

ParameterType
args{ code: string; }
args.codestring

Returns

string