Udostępnij za pośrednictwem


WebProviderTokenRequest.GetApplicationTokenBindingKeyAsync Method

Definition

Gets a token binding key for the app asynchronously.

public:
 virtual IAsyncOperation<CryptographicKey ^> ^ GetApplicationTokenBindingKeyAsync(TokenBindingKeyType keyType, Uri ^ target) = GetApplicationTokenBindingKeyAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<CryptographicKey> GetApplicationTokenBindingKeyAsync(TokenBindingKeyType const& keyType, Uri const& target);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<CryptographicKey> GetApplicationTokenBindingKeyAsync(TokenBindingKeyType keyType, System.Uri target);
function getApplicationTokenBindingKeyAsync(keyType, target)
Public Function GetApplicationTokenBindingKeyAsync (keyType As TokenBindingKeyType, target As Uri) As IAsyncOperation(Of CryptographicKey)

Parameters

keyType
TokenBindingKeyType

The type of key to get.

target
Uri Uri

The target Uri.

Returns

When this method completes, it returns a cryptographic key.

Attributes

Applies to