IPluginBrowserConnectionPresentation14.1
Interface in Unbroken.LaunchBox.Plugins.Capabilities.Connections
public interface IPluginBrowserConnectionPresentation
: IPluginConnectionPresentationCompletes 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
Task<PluginBrowserConnectionRequest> BeginAsync(
CancellationToken cancellationToken
)Begins the flow.
cancellationToken- Cancels preparation.
Returns
The initial navigation request.CompleteAsync
Task<PluginConnectionResult> CompleteAsync(
PluginBrowserConnectionResponse response,
CancellationToken cancellationToken
)Completes authentication and persistence from the recognized response.
response- Navigation evidence and requested document text.
cancellationToken- Cancels completion.
Returns
The connection outcome.IsCompletionUri
bool IsCompletionUri(Uri uri)Recognizes a completion navigation; this check must be local and inexpensive.
uri- The absolute navigation URI.