Table of Contents

Class SFSafariViewControllerBrowser

Namespace
Auth0.OidcClient
Assembly
Auth0.OidcClient.dll

Implements the IdentityModel.OidcClient.Browser.IBrowser interface using SafariServices.SFSafariViewController for support on iOS 10 and earlier.

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

Constructors

SFSafariViewControllerBrowser()

public SFSafariViewControllerBrowser()

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.