Class: DPoPNonceCache

DPoPNonceCache()

Remembers the most recent DPoP-Nonce each server origin handed out (RFC 9449 §8, §9).

Constructor

new DPoPNonceCache()

Source:

Methods

get(url) → {string|undefined}

Parameters:
Name Type Description
url string | URL
Source:
Returns:
Type
string | undefined

update(url, response) → {string|undefined}

Records the nonce a response carries, if any, and returns it.

Parameters:
Name Type Description
url string | URL
response Response
Source:
Returns:
Type
string | undefined