LaunchBoxContributors
On this page

IPluginBrowserConnectionPresentation14.1

Interface in Unbroken.LaunchBox.Plugins.Capabilities.Connections

C#
public interface IPluginBrowserConnectionPresentation
    : IPluginConnectionPresentation
Completes authentication through a host-owned browser.

Inheritance and interfaces

Methods

  • BeginAsyncBegins the flow.
  • CompleteAsyncCompletes authentication and persistence from the recognized response.
  • IsCompletionUriRecognizes a completion navigation; this check must be local and inexpensive.

BeginAsync

C#
Task<PluginBrowserConnectionRequest> BeginAsync(
    CancellationToken cancellationToken
)
Begins the flow.
cancellationToken
Cancels preparation.

Returns

The initial navigation request.

CompleteAsync

C#
Completes authentication and persistence from the recognized response.
response
Navigation evidence and requested document text.
cancellationToken
Cancels completion.

Returns

The connection outcome.

IsCompletionUri

C#
bool IsCompletionUri(Uri uri)
Recognizes a completion navigation; this check must be local and inexpensive.
uri
The absolute navigation URI.

Returns

Whether completion should run.