WebAuthenticatorOptions Class
Definition
Authentication options that control the broker's behavior.
public class WebAuthenticatorOptions
Constructors
| Name | Description |
|---|---|
| WebAuthenticatorOptions | Authentication 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
| Name | Description |
|---|---|
| <Clone>$ | No summary available. |
| Deconstruct | No summary available. |
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
<Clone>$ Method
public Avalonia.Controls.WebAuthenticatorOptions <Clone>$()
Returns
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
| Name | Description |
|---|---|
| NativeWebDialogFactory | Callback that can be used to override NativeWebDialog creation when WebAuthenticationBroker uses dialog implementation instead of system auth APIs. |
| NonPersistent | Hint for the platform implementation to not store any session data persistently. |
| PreferNativeWebDialog | If true, WebAuthenticationBroker will avoid platform specific implementation option, and will use webview dialog window. |
| RedirectUri | URI that indicates the completion of the authentication flow. |
| RequestUri | The 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; }