Table of Contents

Class IOSBrowserBase

Namespace
Auth0.OidcClient
Assembly
Auth0.OidcClient.dll

Provides common IdentityModel.OidcClient.Browser.IBrowser logic for iOS platform.

public abstract class IOSBrowserBase : IBrowser
Inheritance
IOSBrowserBase
Implements
IBrowser
Derived
Inherited Members

Constructors

IOSBrowserBase()

protected IOSBrowserBase()

Methods

InvokeAsync(BrowserOptions, CancellationToken)

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

Parameters

options BrowserOptions
cancellationToken CancellationToken

Returns

Task<BrowserResult>

Launch(BrowserOptions, CancellationToken)

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

protected abstract 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.