import { StorageHandler } from '../utils/authenticationUtils'; import { KeyPair } from '@inrupt/solid-client-authn-core'; import { Logger } from '../logger'; export interface SessionInfo { fetch: typeof fetch; webId?: string; } export interface IInteractiveAuthOptions { idp?: string; sessionInfoStorageLocation?: string; port?: number; verbose?: boolean; logger?: Logger; } export declare const DEFAULTPORT = 3435; export declare const APPNAME = "Solid-cli"; export default function authenticateInteractive(options: IInteractiveAuthOptions): Promise; /** * Handles incoming redirect request and returns relevant access token info extracted. * @param idp * @param redirectUrl * @param code * @param storage * @returns */ export declare function handleIncomingRedirect(idp: string, redirectUrl: string, code: string, storage: StorageHandler): Promise<{ accessToken: string; expirationDate: Date; dpopKey: KeyPair; webId: string; }>; //# sourceMappingURL=AuthenticationInteractive.d.ts.map