dotnet restore ok
This commit is contained in:
parent
7aa1085474
commit
92fdf5555a
4 changed files with 1344 additions and 7261 deletions
21
Yavsc/src/Settings/OAuth2AppSettings.cs
Normal file
21
Yavsc/src/Settings/OAuth2AppSettings.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
/// <summary>
|
||||
/// OAuth2 client application sensitive settings.
|
||||
/// </summary>
|
||||
public class OAuth2AppSettings {
|
||||
public string ClientId { get; set; }
|
||||
public string ClientSecret { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Facebook's class, so class
|
||||
/// </summary>
|
||||
public class FacebookOAuth2AppSettings : OAuth2AppSettings {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -8,6 +8,7 @@ using System.Security.Claims;
|
|||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
using System.Web.Optimization;
|
||||
using AspNet.Security.OpenIdConnect.Extensions;
|
||||
using Microsoft.AspNet.Authentication;
|
||||
using Microsoft.AspNet.Authentication.Cookies;
|
||||
using Microsoft.AspNet.Authentication.JwtBearer;
|
||||
|
|
@ -267,8 +268,7 @@ namespace Yavsc
|
|||
options =>
|
||||
{
|
||||
options.ResourcesPath = "Resources";
|
||||
})
|
||||
.AddDataAnnotationsLocalization( opt => opt.ResourcesPath = "Resources");
|
||||
}).AddDataAnnotationsLocalization();
|
||||
|
||||
services.AddScoped<LanguageActionFilter>();
|
||||
// Inject ticket formatting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue