KeyVaultClient.PreAuthenticate Method

Attempts to pre-authenticate a request to the specified vault or key URL using the Bearer challenge cache and the application supplied AuthenticationCallback.

Namespace: Microsoft.KeyVault.Client
Assembly: Microsoft.KeyVault.Client (in Microsoft.KeyVault.Client.dll)

Syntax

'Declaration
protected string PreAuthenticate (
    Uri url
)

Parameters

  • url
    The vault or key URL

Return Value

The access token to use for the request

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

KeyVaultClient Class
KeyVaultClient Members
Microsoft.KeyVault.Client Namespace