Share via


WebAuthenticatorResult Constructors

Definition

Overloads

WebAuthenticatorResult()

Initializes a new instance of the WebAuthenticatorResult class.

WebAuthenticatorResult(IDictionary<String,String>)

Create a new instance from an existing dictionary.

WebAuthenticatorResult(Uri)

Initializes a new instance of the WebAuthenticatorResult class by parsing a URI's query string parameters.

WebAuthenticatorResult(Uri, IWebAuthenticatorResponseDecoder)

Initializes a new instance of the WebAuthenticatorResult class by parsing a URI's query string parameters.

WebAuthenticatorResult()

Initializes a new instance of the WebAuthenticatorResult class.

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

Applies to

WebAuthenticatorResult(IDictionary<String,String>)

Create a new instance from an existing dictionary.

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))

Parameters

properties
IDictionary<String,String>

The dictionary of properties to incorporate.

Applies to

WebAuthenticatorResult(Uri)

Initializes a new instance of the WebAuthenticatorResult class by parsing a URI's query string parameters.

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

Parameters

uri
Uri

The callback uri that was used to end the authentication sequence.

Applies to

WebAuthenticatorResult(Uri, IWebAuthenticatorResponseDecoder)

Initializes a new instance of the WebAuthenticatorResult class by parsing a URI's query string parameters.

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)

Parameters

uri
Uri

The callback uri that was used to end the authentication sequence.

responseDecoder
IWebAuthenticatorResponseDecoder

The decoder that can be used to decode the callback uri.

Remarks

If the responseDecoder is non-null, then it is used to decode the fragment or query string returned by the authorization service. Otherwise, a default response decoder is used.

Applies to