Files
PayDirt/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts
RochesterX 6e820464d5 Initial
2025-11-12 10:13:24 -05:00

20 lines
713 B
TypeScript

/**
* This is a helper class that parses supported HTTP response authentication headers to extract and return
* header challenge values that can be used outside the basic authorization flows.
*/
export declare class AuthenticationHeaderParser {
private headers;
constructor(headers: Record<string, string>);
/**
* This method parses the SHR nonce value out of either the Authentication-Info or WWW-Authenticate authentication headers.
* @returns
*/
getShrNonce(): string;
/**
* Parses an HTTP header's challenge set into a key/value map.
* @param header
* @returns
*/
private parseChallenges;
}
//# sourceMappingURL=AuthenticationHeaderParser.d.ts.map