WebAuthenticatorResult 构造函数

定义

重载

WebAuthenticatorResult()

初始化 WebAuthenticatorResult 类的新实例。

WebAuthenticatorResult(IDictionary<String,String>)

从现有字典创建新实例。

WebAuthenticatorResult(Uri)

通过分析 URI 的 WebAuthenticatorResult 查询字符串参数来初始化 类的新实例。

WebAuthenticatorResult(Uri, IWebAuthenticatorResponseDecoder)

通过分析 URI 的 WebAuthenticatorResult 查询字符串参数来初始化 类的新实例。

WebAuthenticatorResult()

Source:
WebAuthenticatorResult.shared.cs
Source:
WebAuthenticatorResult.shared.cs

初始化 WebAuthenticatorResult 类的新实例。

public:
 WebAuthenticatorResult();
public WebAuthenticatorResult ();
Public Sub New ()

适用于

WebAuthenticatorResult(IDictionary<String,String>)

Source:
WebAuthenticatorResult.shared.cs
Source:
WebAuthenticatorResult.shared.cs

从现有字典创建新实例。

public:
 WebAuthenticatorResult(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ properties);
public WebAuthenticatorResult (System.Collections.Generic.IDictionary<string,string> properties);
new Microsoft.Maui.Authentication.WebAuthenticatorResult : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Maui.Authentication.WebAuthenticatorResult
Public Sub New (properties As IDictionary(Of String, String))

参数

properties
IDictionary<String,String>

要合并的属性字典。

适用于

WebAuthenticatorResult(Uri)

Source:
WebAuthenticatorResult.shared.cs
Source:
WebAuthenticatorResult.shared.cs

通过分析 URI 的 WebAuthenticatorResult 查询字符串参数来初始化 类的新实例。

public:
 WebAuthenticatorResult(Uri ^ uri);
public WebAuthenticatorResult (Uri uri);
new Microsoft.Maui.Authentication.WebAuthenticatorResult : Uri -> Microsoft.Maui.Authentication.WebAuthenticatorResult
Public Sub New (uri As Uri)

参数

uri
Uri

用于结束身份验证序列的回调 URI。

适用于

WebAuthenticatorResult(Uri, IWebAuthenticatorResponseDecoder)

Source:
WebAuthenticatorResult.shared.cs
Source:
WebAuthenticatorResult.shared.cs

通过分析 URI 的 WebAuthenticatorResult 查询字符串参数来初始化 类的新实例。

public:
 WebAuthenticatorResult(Uri ^ uri, Microsoft::Maui::Authentication::IWebAuthenticatorResponseDecoder ^ responseDecoder);
public WebAuthenticatorResult (Uri uri, Microsoft.Maui.Authentication.IWebAuthenticatorResponseDecoder responseDecoder);
new Microsoft.Maui.Authentication.WebAuthenticatorResult : Uri * Microsoft.Maui.Authentication.IWebAuthenticatorResponseDecoder -> Microsoft.Maui.Authentication.WebAuthenticatorResult
Public Sub New (uri As Uri, responseDecoder As IWebAuthenticatorResponseDecoder)

参数

uri
Uri

用于结束身份验证序列的回调 URI。

responseDecoder
IWebAuthenticatorResponseDecoder

可用于解码回调 URI 的解码器。

注解

如果 responseDecoder 为非 null,则它用于解码授权服务返回的片段或查询字符串。 否则,使用默认响应解码器。

适用于