Skip to content

parseDeviceCodeClientSecret

function parseDeviceCodeClientSecret(wwwAuthenticate): string | null;

Defined in: src/client/oauth.ts:167

Extract the device_code_client_secret from a WWW-Authenticate Bearer challenge. Returns null if no device_code_client_secret parameter is found.

Parameter Type
wwwAuthenticate string

string | null