Compartilhar via


WebProviderTokenRequest.GetApplicationTokenBindingKeyAsync Método

Definição

Obtém uma chave de associação de token para o aplicativo de forma assíncrona.

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)

Parâmetros

keyType
TokenBindingKeyType

O tipo de chave a ser obtido.

target
Uri Uri

O Uri de destino.

Retornos

Quando esse método for concluído, ele retornará uma chave criptográfica.

Atributos

Aplica-se a