FIXME SR is private
This commit is contained in:
parent
8929cc9bfa
commit
123283f277
576 changed files with 75350 additions and 13070 deletions
|
|
@ -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
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue