RedirectToLogOn Method (HttpContext, ShellRedirectParameters)

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: (1.15.1003.9505)

public static void RedirectToLogOn(
	HttpContext context,
	ShellRedirectParameters redirectParameters


Type: System.Web..::..HttpContext
The current request context.
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.