RedirectToLogOn Method (HttpContext, Boolean, String)

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,
	bool isMra,
	string actionUrlQueryString


Type: System.Web..::..HttpContext
The current request context.
Type: System..::..Boolean
Whether this application simultaneously deals with multiple records for the same person.
Type: System..::..String
The query string parameters to pass to the signin action URL after signin.

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.