Delen via


WebAuthenticationCoreManager.FindAccountProviderAsync Method

Definition

Overloads

FindAccountProviderAsync(String)

Asynchronously attempts to find a web account provider.

FindAccountProviderAsync(String, String)

Asynchronously attempts to find a web account provider.

FindAccountProviderAsync(String, String, User)

Asynchronously attempts to find a web account provider.

FindAccountProviderAsync(String)

Asynchronously attempts to find a web account provider.

public:
 static IAsyncOperation<WebAccountProvider ^> ^ FindAccountProviderAsync(Platform::String ^ webAccountProviderId);
/// [Windows.Foundation.Metadata.Overload("FindAccountProviderAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAccountProvider> FindAccountProviderAsync(winrt::hstring const& webAccountProviderId);
[Windows.Foundation.Metadata.Overload("FindAccountProviderAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAccountProvider> FindAccountProviderAsync(string webAccountProviderId);
function findAccountProviderAsync(webAccountProviderId)
Public Shared Function FindAccountProviderAsync (webAccountProviderId As String) As IAsyncOperation(Of WebAccountProvider)

Parameters

webAccountProviderId
String

Platform::String

winrt::hstring

The Id of the web account provider to find.

Returns

An asynchronous find operation. On successful completion, contains a WebAccountProvider object representing the found web account provider.

Attributes

See also

Applies to

FindAccountProviderAsync(String, String)

Asynchronously attempts to find a web account provider.

public:
 static IAsyncOperation<WebAccountProvider ^> ^ FindAccountProviderAsync(Platform::String ^ webAccountProviderId, Platform::String ^ authority);
/// [Windows.Foundation.Metadata.Overload("FindAccountProviderWithAuthorityAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAccountProvider> FindAccountProviderAsync(winrt::hstring const& webAccountProviderId, winrt::hstring const& authority);
[Windows.Foundation.Metadata.Overload("FindAccountProviderWithAuthorityAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAccountProvider> FindAccountProviderAsync(string webAccountProviderId, string authority);
function findAccountProviderAsync(webAccountProviderId, authority)
Public Shared Function FindAccountProviderAsync (webAccountProviderId As String, authority As String) As IAsyncOperation(Of WebAccountProvider)

Parameters

webAccountProviderId
String

Platform::String

winrt::hstring

The Id of the web account provider to find.

authority
String

Platform::String

winrt::hstring

The authority of the web account provider to find.

Important

When using "https://login.windows.local" as the webAccountProviderId value, you should not specify an authority value. Use the single-parameter overload of this method instead.

Returns

An asynchronous find operation. On successful completion, contains a WebAccountProvider object representing the found web account provider.

Attributes

See also

Applies to

FindAccountProviderAsync(String, String, User)

Asynchronously attempts to find a web account provider.

public:
 static IAsyncOperation<WebAccountProvider ^> ^ FindAccountProviderAsync(Platform::String ^ webAccountProviderId, Platform::String ^ authority, User ^ user);
/// [Windows.Foundation.Metadata.Overload("FindAccountProviderWithAuthorityForUserAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAccountProvider> FindAccountProviderAsync(winrt::hstring const& webAccountProviderId, winrt::hstring const& authority, User const& user);
[Windows.Foundation.Metadata.Overload("FindAccountProviderWithAuthorityForUserAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAccountProvider> FindAccountProviderAsync(string webAccountProviderId, string authority, User user);
function findAccountProviderAsync(webAccountProviderId, authority, user)
Public Shared Function FindAccountProviderAsync (webAccountProviderId As String, authority As String, user As User) As IAsyncOperation(Of WebAccountProvider)

Parameters

webAccountProviderId
String

Platform::String

winrt::hstring

The Id of the web account provider to find.

authority
String

Platform::String

winrt::hstring

The authority of the web account provider to find.

user
User

The user associated with the web account provider to find.

Important

When using "https://login.windows.local" as the webAccountProviderId value, you should not specify an authority value. Use the single-parameter overload of this method instead.

Returns

An asynchronous find operation. On successful completion, contains a WebAccountProvider object representing the found web account provider.

Attributes

See also

Applies to