public override void ProcessSignInRequest(Scope scope, HttpContextBase httpContext) { httpContext.ApplicationInstance.CompleteRequest(); HttpContext.Current.Response.Redirect(this.GetAuthorizationLink()); HttpContext.Current.ApplicationInstance.CompleteRequest(); }
public override void ProcessSignInRequest(Scope scope, HttpContextBase httpContext) { var request = this.openIdRelyingParty.CreateRequest(this.Issuer.Url, this.MultiProtocolIssuer.Identifier, this.MultiProtocolIssuer.ReplyUrl); var ax = new FetchRequest(); foreach (var requirement in scope.ClaimTypeRequirements) { ax.Attributes.Add(new AttributeRequest(requirement.ClaimType, requirement.DemandLevel != ClaimDemandLevel.NoRequest)); } request.AddExtension(ax); request.RedirectToProvider(); }
public abstract void ProcessSignInRequest(Scope scope, HttpContextBase httpContext);