Skip to content

parseDeviceCodeClientId

function parseDeviceCodeClientId(wwwAuthenticate): string | null;

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

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

ParameterType
wwwAuthenticatestring

string | null