Skip to main content

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​

ParameterType
args{ code: string; }
args.codestring

Returns​

string