public void GetDescriptions(DescribeSchemesContext context)
 {
     if (PriorHandler != null)
     {
         PriorHandler.GetDescriptions(context);
     }
 }
        public override IEnumerable<AuthenticationDescription> GetAuthenticationSchemes()
        {
            var handler = HttpAuthenticationFeature.Handler;
            if (handler == null)
            {
                return new AuthenticationDescription[0];
            }

            var describeContext = new DescribeSchemesContext();
            handler.GetDescriptions(describeContext);
            return describeContext.Results.Select(description => new AuthenticationDescription(description));
        }
Beispiel #3
0
 public void GetDescriptions(DescribeSchemesContext context)
 {
     throw new NotImplementedException();
 }
 public void GetDescriptions(DescribeSchemesContext context)
 { 
     // intentionally does nothing
 }
        public void GetDescriptions(DescribeSchemesContext context)
        {
            foreach (var description in Options.AuthenticationDescriptions)
            {
                context.Accept(description.Items);
            }

            if (PriorHandler != null)
            {
                PriorHandler.GetDescriptions(context);
            }
        }