public override void ApplyRedirect(FacebookApplyRedirectContext context) { //To handle rerequest to give some permission string authType = string.Empty; if (context.Properties.Dictionary.ContainsKey("auth_type")) { authType = string.Format("&auth_type={0}", context.Properties.Dictionary["auth_type"]); } //If you have popup loggin add &display=popup context.Response.Redirect(string.Format("{0}{1}{2}", context.RedirectUri, "&display=popup", authType)); }
public override void ApplyRedirect(FacebookApplyRedirectContext context) { context.Response.Redirect(context.RedirectUri); }
/// <summary> /// Called when a Challenge causes a redirect to authorize endpoint in the Facebook middleware /// </summary> /// <param name="context">Contains redirect URI and <see cref="AuthenticationProperties"/> of the challenge </param> public virtual void ApplyRedirect(FacebookApplyRedirectContext context) { OnApplyRedirect(context); }
public override void ApplyRedirect(FacebookApplyRedirectContext context) { context.Response.Redirect(context.RedirectUri + "&display=popup"); base.ApplyRedirect(context); }
public void ApplyRedirect(FacebookApplyRedirectContext context) { context.Response.Redirect(context.RedirectUri); }
public override void ApplyRedirect(FacebookApplyRedirectContext context) { base.ApplyRedirect(context); }
public void ApplyRedirect(FacebookApplyRedirectContext context) { this.OnApplyRedirect(context); }