import { TokenResponse } from "../types"; import { Context } from "../plugin"; import { AuthorizationRequest } from "../protocols"; import * as Utils from "../../../../utils"; interface Args { authorizationRequest: AuthorizationRequest; callbackUrl?: string | URL; } /** * OIDC Convenience Task * CallbackUrl to established Connection * * OIDC Connection flow 2/2 * OIDC Credential Issuance flow 2/3 * * manage fetching a Token from the Authorization Server * establishing a connection for future use * steps * - processCallbackUrl * - send a TokenRequest * - add a Connection * * @param authorizationRequest * @param callbackUrl * @returns */ export declare class ResolveTokenRequest extends Utils.Task { run(ctx: Context): Promise<{ scope?: string | undefined; expires_in?: number | undefined; c_nonce?: string | undefined; c_nonce_expires_in?: number | undefined; refresh_token?: string | undefined; refresh_expires_in?: number | undefined; id_token?: string | undefined; session_state?: string | undefined; access_token: string; token_type: string; }>; } export {};