/** * Defined supported names of WWW-Authenticate name-value pairs. */ export type ValidParsedWWWAuthenticateProperties = "authorization" | "claims" | "resource" | "scope" | "service"; /** * Represents the result of `parseWWWAuthenticate()`; */ export type ParsedWWWAuthenticate = { [Key in ValidParsedWWWAuthenticateProperties]?: string; }; /** * Parses an WWW-Authenticate response. * This transforms a string value like: * `Bearer authorization="some_authorization", resource="https://some.url"` * into an object like: * `{ authorization: "some_authorization", resource: "https://some.url" }` * @param wwwAuthenticate - String value in the WWW-Authenticate header */ export declare function parseWWWAuthenticate(wwwAuthenticate: string): ParsedWWWAuthenticate; //# sourceMappingURL=wwwAuthenticateParser.d.ts.map