AuthenticationToken Property

Gets the authorization token to be used in all requests for this user.

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

public string AuthenticationToken { get; }

Field Value

A base64 encoded string that represents the person ID, application ID, expiration, and group membership of the person and application requesting access to HealthVault.

The authorization token can be retrieved using the CreateAuthenticatedSessionToken(HealthServiceConnection, Guid) web method from HealthVault or by calling the HealthVault Shell authentication web page.