WebAuthenticatorExtensions.AuthenticateAsync 메서드

정의

지정된 URL로 이동하고 callbackUrl 스키마에 대한 콜백/리디렉션을 대기하여 인증 흐름을 시작합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::Maui::Authentication::WebAuthenticatorResult ^> ^ AuthenticateAsync(Microsoft::Maui::Authentication::IWebAuthenticator ^ webAuthenticator, Uri ^ url, Uri ^ callbackUrl);
public static System.Threading.Tasks.Task<Microsoft.Maui.Authentication.WebAuthenticatorResult> AuthenticateAsync (this Microsoft.Maui.Authentication.IWebAuthenticator webAuthenticator, Uri url, Uri callbackUrl);
static member AuthenticateAsync : Microsoft.Maui.Authentication.IWebAuthenticator * Uri * Uri -> System.Threading.Tasks.Task<Microsoft.Maui.Authentication.WebAuthenticatorResult>
<Extension()>
Public Function AuthenticateAsync (webAuthenticator As IWebAuthenticator, url As Uri, callbackUrl As Uri) As Task(Of WebAuthenticatorResult)

매개 변수

webAuthenticator
IWebAuthenticator

IWebAuthenticator 인증 흐름에 사용할 입니다.

url
Uri

탐색할 URL로, 인증 흐름을 시작합니다.

callbackUrl
Uri

탐색 흐름이 최종적으로 리디렉션될 콜백 URL이 필요합니다.

반환

콜백 URL에서 구문 분석된 결과를 반환합니다.

적용 대상