Table of Contents

Class AutoSelectBrowser

Namespace
Auth0.OidcClient
Assembly
Auth0.OidcClient.dll

Implements the IdentityModel.OidcClient.Browser.IBrowser interface using the best available option for the current iOS version.

public class AutoSelectBrowser : IOSBrowserBase, IBrowser
Inheritance
AutoSelectBrowser
Implements
IBrowser
Inherited Members

Constructors

AutoSelectBrowser()

public AutoSelectBrowser()

Methods

Launch(BrowserOptions, CancellationToken)

Launch a browser with the options and URL specified by the IdentityModel.OidcClient.Browser.BrowserOptions.

protected override Task<BrowserResult> Launch(BrowserOptions options, CancellationToken cancellationToken = default)

Parameters

options BrowserOptions

IdentityModel.OidcClient.Browser.BrowserOptions specifying the parameters to be used in launching the browser.

cancellationToken CancellationToken

Optional CancellationToken that could be used to cancel the browser.

Returns

Task<BrowserResult>

A Task that will contain a IdentityModel.OidcClient.Browser.BrowserResult with details of wether the launch process succeeded or not by way of a IdentityModel.OidcClient.Browser.BrowserResultType.