UNPKG

oidc-spa

Version:

Openidconnect client for Single Page Applications

20 lines (19 loc) 505 B
export declare function addOrUpdateSearchParam(params: { url: string; name: string; value: string; encodeMethod: "encodeURIComponent" | "www-form"; }): string; export declare function getSearchParam(params: { url: string; name: string; }): { wasPresent: true; value: string; url_withoutTheParam: string; } | { wasPresent: false; value?: never; url_withoutTheParam?: never; }; export declare function getAllSearchParams(url: string): Record<string, string>;