WebAuthenticationBroker Class
Definition
Avalonia.Controls.WebAuthenticationBroker is a utility class that facilitates OAuth and other web-based authentication flows by providing a secure way to handle web authentication in applications.
public class WebAuthenticationBroker
Methods
| Name | Description |
|---|---|
| AuthenticateAsync | Starts an authentication flow by navigating to the specified start URI and monitoring for navigation to the end URI. |
AuthenticateAsync Method
Starts an authentication flow by navigating to the specified start URI and monitoring for navigation to the end URI.
public System.Threading.Tasks.Task<Avalonia.Controls.WebAuthenticationResult> AuthenticateAsync(Avalonia.Controls.TopLevel topLevel, Avalonia.Controls.WebAuthenticatorOptions options)
Parameters
topLevel Avalonia.Controls.TopLevel
options Avalonia.Controls.WebAuthenticatorOptions
Returns
System.Threading.Tasks.Task<Avalonia.Controls.WebAuthenticationResult>