/** * Arguments for a full page redirect event if interaction is required during the login flow. * * @public */ export declare class BeforeFullPageRedirectEventArgs { /** * The url of the page to redirect to if automatic redirect is cancelled and you want the entire window redirected */ redirectUrl: string; /** * Call this method if the redirect should be cancelled because it is being handled by code in the cancelling class. */ cancel: () => void; constructor(redirectUrl: string, cancel: () => void); } /** * Arguments for a popup event if interaction is required during the login flow. * * @public */ export declare class PopupRequestEventArgs { /** * A handler should call this from user interaction to ensure the browser does not * block the popup window */ showPopup: () => void; constructor(showPopup: () => void); } /** * ISPCookieRefresher is an internal service used by SPHttpClient to refresh the * authentication cookie for SharePoint * * @internal */ export interface ISPCookieRefresher { /** * Calls SharePoint in order to update the cookie present for the current SharePoint domain * @param claims - claims challenge that must be satisfied when refreshing the auth cookie. * @param reauthId - redirect URI that can be used when refreshing the cookie * @param usePopupAuth - if true popup reauth should be attempted instead of full page redirect * @returns */ refreshCookie(claims: string | undefined, reauthId: string | undefined, usePopupAuth: boolean): Promise; } export default ISPCookieRefresher; //# sourceMappingURL=ISPCookieRefresher.d.ts.map