Credential Credential Credential Class
Provides base functionality for all Microsoft HealthVault service authentication credential types. This class is abstract.
public abstract class Credential
type Credential = class
Public MustInherit Class Credential
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.
|Credential() Credential() Credential()|
|SharedSecret SharedSecret SharedSecret||
Gets or sets the credential's shared secret.
|CreateAuthenticatedSessionToken(HealthServiceConnection, Guid) CreateAuthenticatedSessionToken(HealthServiceConnection, Guid) CreateAuthenticatedSessionToken(HealthServiceConnection, Guid)||
Gets an authentication token in the context of the credential.
|GetAuthenticationResult(Guid) GetAuthenticationResult(Guid) GetAuthenticationResult(Guid)||
Gets the credential's authentication results from prior successful authentications with the Microsoft HealthVault service.
|WriteInfoXml(XmlWriter) WriteInfoXml(XmlWriter) WriteInfoXml(XmlWriter)||
Generates the credential-specific XML that is sent to the HealthVault service.