Skip to main content
browser.IntegrationConnectionFlow One user’s immutable connection scope. Create a new controller whenever the authenticated user, component, provider, organization, or repair account changes. The transport must authenticate that user; this scope never grants authority. No operation or ambiguous credential submission is automatically replayed. Secrets and provider codes are passed through once and never kept in state.

Constructors

constructor

• new IntegrationConnectionFlow(request, scope, options?)

Parameters

Methods

begin

▸ begin(input?): Promise<ConnectionAuthorization>

Parameters

Returns

Promise<ConnectionAuthorization>

authorize

▸ authorize(): Promise<ConnectionOffer> Call directly from a click, after begin returned a redirect offer.

Returns

Promise<ConnectionOffer>

credential

▸ credential(credential): Promise<ConnectionOffer>

Parameters

Returns

Promise<ConnectionOffer>

browser

▸ browser(command): Promise<ConnectionBrowserResult>

Parameters

Returns

Promise<ConnectionBrowserResult>

select

▸ select(resources): Promise<{ installed: { resource: string ; source: string }[] }>

Parameters

Returns

Promise<{ installed: { resource: string ; source: string }[] }>

cancel

▸ cancel(): void Stops local delivery, closes the popup and releases a remote browser. It does not undo an already submitted request or change a business outcome.

Returns

void