Export (0) Print
Expand All

WebApplicationCredential Class

HealthVault
Enables web applications to authenticate themselves, with or without the authentication context of a user.

Namespace: Microsoft.Health.Web.Authentication
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

'Declaration
Public Class WebApplicationCredential _
	Inherits Credential

Web applications can authenticate in two modes: First, an application can authenticate itself in the anonymous mode, that is, not in the context of a user. This mode enables application servers to communicate with the HealthVault Service as a trusted operation, but not explicitly on behalf of a user. Secondly, an application can authenticate itself in the context of a user. This mode enables applications to communicate with the HealthVault Service both as a trusted operation and in the user context. The application can therefore explicitly perform operations as that user or as trusted operations as in the anonymous case. The credential proves the application's identity by signing the authentication request with the application's private key. The user's context is provided by the property.

System..::..Object
  Microsoft.Health.Authentication..::..Credential
    Microsoft.Health.Web.Authentication..::..WebApplicationCredential
Show:
© 2014 Microsoft