Export (0) Print
Expand All

RedirectToLogOn Method (HttpContext, ShellRedirectParameters)

HealthVault
Redirects the caller's browser to the logon page for authentication.

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

public static void RedirectToLogOn(
	HttpContext context,
	ShellRedirectParameters redirectParameters
)

Parameters

context
Type: System.Web..::..HttpContext
The current request context.
redirectParameters
Type: Microsoft.Health..::..ShellRedirectParameters
HealthVault Shell redirect parameters.

After the user successfully authenticates, they get redirected to the action url for which the target is set to either AppAuthSuccess or AppAuthRejected depending on whether the user authorized one or more records for use with the application, with the authentication token in the query string. This is stripped out and used to populate HealthVault data for the page.
Show:
© 2014 Microsoft