Table of Contents

Class WebBrowserBrowser

Namespace
Auth0.OidcClient
Assembly
Auth0.OidcClient.dll

Implements the IdentityModel.OidcClient.Browser.IBrowser interface using ExtendedWebBrowser.

public class WebBrowserBrowser : IBrowser
Inheritance
WebBrowserBrowser
Implements
IBrowser
Inherited Members

Constructors

WebBrowserBrowser(Func<Form>)

Create an instance of WebBrowserBrowser that uses the provided Func<TResult> to determine how to host the ExtendedWebBrowser control.

public WebBrowserBrowser(Func<Form> formFactory)

Parameters

formFactory Func<Form>

Func<TResult> to used to host the ExtendedWebBrowser control.

WebBrowserBrowser(string, int, int)

Create a new instance of WebBrowserBrowser that will create a customized Form as needed.

public WebBrowserBrowser(string title = "Authenticating...", int width = 1024, int height = 768)

Parameters

title string

An optional string specifying the title of the form. Defaults to "Authenticating...".

width int

An optional int specifying the width of the form. Defaults to 1024.

height int

An optional int specifying the height of the form. Defaults to 768.

Methods

InvokeAsync(BrowserOptions, CancellationToken)

public Task<BrowserResult> InvokeAsync(BrowserOptions options, CancellationToken cancellationToken = default)

Parameters

options BrowserOptions
cancellationToken CancellationToken

Returns

Task<BrowserResult>