/** * clears the authentication session * */ export function clearAuthSession(): void; /** * returns the current authentication session * * @return {Object} the authentication session */ export function getAuthSession(): any; export function getBasicAuthHeader(userName: any, password: any): string; /** * Returns the cookieJar (object with cookie and userName property) if in form authentication mode */ export function getJar(): | { cookie?: undefined; userName?: undefined; } | { cookie: any; userName: any; }; /** * set the current auth session to basic auth with * * @param {string} userName the userName * @param {string} password the password * */ export function setBasicAuthSession(userName: string, password: string): void; /** * set the current auth session to form with userName and cookie * * @param {string} authService the authentication service used * @param {string} userName the userName * @param {Object} jar the cookie * */ export function setFormAuthSession( userName: string, jar: any, authService: string, ): void; export function setOidcAuthSession(userName: any, oidcResponse: any): void; //# sourceMappingURL=authSession.d.ts.map