private LinkLogin ( string provider ) : System.Web.Mvc.ActionResult | ||
provider | string | |
return | System.Web.Mvc.ActionResult |
public ActionResult LinkLogin(string provider)
{
// Request a redirect to the external login provider to link a login for the current user
return new AccountController.ChallengeResult(provider, Url.Action("LinkLoginCallback", "Manage"), User.Identity.GetUserId());
}