FIXME SR is private

This commit is contained in:
Paul Schneider 2023-03-19 17:57:55 +00:00
commit 123283f277
576 changed files with 75350 additions and 13070 deletions

View file

@ -1,7 +1,7 @@
using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.AspNetCore.Http;
using Yavsc.ViewModels.Account;
namespace Yavsc.Helpers
@ -12,7 +12,7 @@ namespace Yavsc.Helpers
throw new ArgumentNullException(nameof(context));
}
return from description in context.Authentication.GetAuthenticationSchemes()
return from description in context.GetExternalProviders()
where !string.IsNullOrEmpty(description.DisplayName)
select
( new YaAuthenticationDescription
@ -35,4 +35,4 @@ namespace Yavsc.Helpers
}
}
}