Skip to main content

WebAuthenticatorOptions Class

Definition

Assembly:Avalonia.Controls.WebView
Package:Avalonia.Controls.WebView

Authentication options that control the broker's behavior.

public class WebAuthenticatorOptions

Inheritance: object -> WebAuthenticatorOptions

Implements: IEquatable<WebAuthenticatorOptions>

Constructors

NameDescription
WebAuthenticatorOptionsAuthentication options that control the broker's behavior.

WebAuthenticatorOptions Constructor

Authentication options that control the broker's behavior.

public WebAuthenticatorOptions(Uri RequestUri, Uri RedirectUri)

Parameters

RequestUri Uri

The initial URI that starts the authentication flow.

RedirectUri Uri

URI that indicates the completion of the authentication flow.

Methods

NameDescription
<Clone>$No summary available.
DeconstructNo summary available.
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

<Clone>$ Method

public Avalonia.Controls.WebAuthenticatorOptions <Clone>$()

Returns

Avalonia.Controls.WebAuthenticatorOptions

Deconstruct Method

public void Deconstruct(Uri& RequestUri, Uri& RedirectUri)

Parameters

RequestUri Uri&

RedirectUri Uri&

Equals overloads

Equals Method

public bool Equals(Avalonia.Controls.WebAuthenticatorOptions other)
Parameters

other Avalonia.Controls.WebAuthenticatorOptions

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

ToString Method

public string ToString()

Returns

string

Properties

NameDescription
NativeWebDialogFactoryCallback that can be used to override NativeWebDialog creation when WebAuthenticationBroker uses dialog implementation instead of system auth APIs.
NonPersistentHint for the platform implementation to not store any session data persistently.
PreferNativeWebDialogIf true, WebAuthenticationBroker will avoid platform specific implementation option, and will use webview dialog window.
RedirectUriURI that indicates the completion of the authentication flow.
RequestUriThe initial URI that starts the authentication flow.

NativeWebDialogFactory Property

Callback that can be used to override NativeWebDialog creation when WebAuthenticationBroker uses dialog implementation instead of system auth APIs.

public Func<Avalonia.Controls.NativeWebDialog> NativeWebDialogFactory { get; set; }

NonPersistent Property

Hint for the platform implementation to not store any session data persistently.

public bool NonPersistent { get; set; }

PreferNativeWebDialog Property

If true, WebAuthenticationBroker will avoid platform specific implementation option, and will use webview dialog window.

public bool PreferNativeWebDialog { get; set; }

RedirectUri Property

URI that indicates the completion of the authentication flow.

public Uri RedirectUri { get; set; }

RequestUri Property

The initial URI that starts the authentication flow.

public Uri RequestUri { get; set; }