tokenDigest
function tokenDigest(token): Promise<string>;Defined in: src/http/introspect.ts:76
Return a SHA-256 hex digest of token, for diagnostics.
The credential itself must never reach a log, a span, or an error message. A digest is stable enough to correlate one credential’s failures across records without being the credential.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
token |
string |
Returns
Section titled “Returns”Promise<string>
