Credential Class

Definition

Provides base functionality for all Microsoft HealthVault service authentication credential types. This class is abstract.

public abstract class Credential
Inheritance
Credential
Derived

Remarks

Credentials serve as the basis for all authentication with the Microsoft HealthVault service. Each credential class implements a specific credential type. As more credential types are required, a new credential is required for each. You should inherit from this class only if support for a new HealthVault authentication credential type is required.

Constructors

Credential()

Properties

SharedSecret

Gets or sets the credential's shared secret.

Methods

CreateAuthenticatedSessionToken(HealthServiceConnection, Guid)

Gets an authentication token in the context of the credential.

GetAuthenticationResult(Guid)

Gets the credential's authentication results from prior successful authentications with the Microsoft HealthVault service.

WriteInfoXml(XmlWriter)

Generates the credential-specific XML that is sent to the HealthVault service.