Table of Contents

Class SFAuthenticationSessionBrowser

Namespace
Auth0.OidcClient
Assembly
Auth0.OidcClient.dll

Implements the Browser IdentityModel.OidcClient.Browser.IBrowser using SafariServices.SFAuthenticationSession for support on iOS 11.

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

Constructors

SFAuthenticationSessionBrowser()

public SFAuthenticationSessionBrowser()

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.