Share via


KeyCredentialManager.OpenAsync Method

Definition

Overloads

OpenAsync(String)

Retrieves a key credential for the current user and application.

OpenAsync(String, ChallengeResponseKind, AttestationChallengeHandler)

OpenAsync(String)

Retrieves a key credential for the current user and application.

public:
 static IAsyncOperation<KeyCredentialRetrievalResult ^> ^ OpenAsync(Platform::String ^ name);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<KeyCredentialRetrievalResult> OpenAsync(winrt::hstring const& name);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<KeyCredentialRetrievalResult> OpenAsync(string name);
function openAsync(name)
Public Shared Function OpenAsync (name As String) As IAsyncOperation(Of KeyCredentialRetrievalResult)

Parameters

name
String

Platform::String

winrt::hstring

The name of the key credential to open.

Returns

When this method completes, it returns the results of the key credential retrieval.

Attributes

Applies to

OpenAsync(String, ChallengeResponseKind, AttestationChallengeHandler)

public:
 static IAsyncOperation<KeyCredentialRetrievalResult ^> ^ OpenAsync(Platform::String ^ name, ChallengeResponseKind callbackType, AttestationChallengeHandler ^ attestationCallback);
/// [Windows.Foundation.Metadata.Overload("OpenAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<KeyCredentialRetrievalResult> OpenAsync(winrt::hstring const& name, ChallengeResponseKind const& callbackType, AttestationChallengeHandler const& attestationCallback);
[Windows.Foundation.Metadata.Overload("OpenAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<KeyCredentialRetrievalResult> OpenAsync(string name, ChallengeResponseKind callbackType, AttestationChallengeHandler attestationCallback);
function openAsync(name, callbackType, attestationCallback)
Public Shared Function OpenAsync (name As String, callbackType As ChallengeResponseKind, attestationCallback As AttestationChallengeHandler) As IAsyncOperation(Of KeyCredentialRetrievalResult)

Parameters

name
String

Platform::String

winrt::hstring

callbackType
ChallengeResponseKind
attestationCallback
AttestationChallengeHandler

Returns

Attributes

Applies to