interface GetParamsFromIFrameOptions {
    errorParams: string[];
    includeHashParams?: boolean;
    resolveOnRedirectUri?: string;
    successParams: string[];
    timeout: number;
    url: string;
}

Properties

errorParams: string[]

Array of query parameter keys indicating an error occurred.

includeHashParams?: boolean

When true, merges URL fragment (hash) params into search params before resolution. Use for response_type=id_token.

resolveOnRedirectUri?: string

When set, resolves immediately upon navigating to a URL matching this redirect URI (origin + pathname). Use for response_type=none.

successParams: string[]

Array of query parameter keys expected upon successful completion.

timeout: number

Timeout in milliseconds for the entire operation.

url: string

The URL to load in the iframe.