Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
WebAuthenticator Class
Definition
- Namespace:
- Microsoft.Maui.Authentication
- Assembly:
- Microsoft.Maui.Essentials.dll
- Source:
- WebAuthenticator.shared.cs
- Source:
- WebAuthenticator.shared.cs
- Source:
- WebAuthenticator.shared.cs
- Source:
- WebAuthenticator.shared.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A web navigation API intended to be used for Authentication with external web services such as OAuth.
public ref class WebAuthenticator abstract sealed
public static class WebAuthenticator
type WebAuthenticator = class
Public Class WebAuthenticator
- Inheritance
-
WebAuthenticator
Remarks
This API helps with navigating to a start URL and waiting for a callback URL to the app. Your app must be registered to handle the callback scheme you provide in the call to authenticate.
Properties
| Name | Description |
|---|---|
| Default |
Provides the default implementation for static usage of this API. |
Methods
| Name | Description |
|---|---|
| AuthenticateAsync(Uri, Uri, CancellationToken) |
Begin an authentication flow by navigating to the specified url and waiting for a callback/redirect to the callbackUrl scheme. |
| AuthenticateAsync(Uri, Uri) |
Begin an authentication flow by navigating to the specified url and waiting for a callback/redirect to the callbackUrl scheme. |
| AuthenticateAsync(WebAuthenticatorOptions, CancellationToken) |
Begin an authentication flow by navigating to the specified url and waiting for a callback/redirect to the callbackUrl scheme.The start url and callbackUrl are specified in the webAuthenticatorOptions. |
| AuthenticateAsync(WebAuthenticatorOptions) |
Begin an authentication flow by navigating to the specified url and waiting for a callback/redirect to the callbackUrl scheme.The start url and callbackUrl are specified in the webAuthenticatorOptions. |
Applies to
Feedback
Was this page helpful?
