dotnet restore ok
This commit is contained in:
parent
7aa1085474
commit
92fdf5555a
4 changed files with 1344 additions and 7261 deletions
|
|
@ -100,7 +100,6 @@
|
||||||
"Microsoft.Framework.Configuration.Binder": "1.0.0-beta8",
|
"Microsoft.Framework.Configuration.Binder": "1.0.0-beta8",
|
||||||
"Microsoft.AspNet.Web.Optimization": "1.1.3",
|
"Microsoft.AspNet.Web.Optimization": "1.1.3",
|
||||||
"PayPalCoreSDK": "1.7.1",
|
"PayPalCoreSDK": "1.7.1",
|
||||||
"RazorEngine": "4.2.7-beta1",
|
|
||||||
"Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final",
|
"Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final",
|
||||||
"Microsoft.AspNetCore.Authentication.OAuth": "0.0.1-alpha",
|
"Microsoft.AspNetCore.Authentication.OAuth": "0.0.1-alpha",
|
||||||
"Microsoft.Extensions.Options": "0.0.1-alpha",
|
"Microsoft.Extensions.Options": "0.0.1-alpha",
|
||||||
|
|
@ -113,7 +112,8 @@
|
||||||
"Microsoft.AspNet.Authentication.JwtBearer": "1.0.0-rc1-final",
|
"Microsoft.AspNet.Authentication.JwtBearer": "1.0.0-rc1-final",
|
||||||
"System.IdentityModel.Tokens": "5.0.0-rc1-208241120",
|
"System.IdentityModel.Tokens": "5.0.0-rc1-208241120",
|
||||||
"System.IdentityModel.Tokens.Jwt": "5.0.0-rc1-208241120",
|
"System.IdentityModel.Tokens.Jwt": "5.0.0-rc1-208241120",
|
||||||
"Microsoft.AspNet.Authorization": "1.0.0-rc1-final"
|
"Microsoft.AspNet.Authorization": "1.0.0-rc1-final",
|
||||||
|
"AspNet.Security.OpenIdConnect.Server": "1.0.0-beta4"
|
||||||
},
|
},
|
||||||
"commands": {
|
"commands": {
|
||||||
"web": "Microsoft.AspNet.Server.Kestrel --server.urls http://*:5000",
|
"web": "Microsoft.AspNet.Server.Kestrel --server.urls http://*:5000",
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
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.Threading.Tasks;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Optimization;
|
using System.Web.Optimization;
|
||||||
|
using AspNet.Security.OpenIdConnect.Extensions;
|
||||||
using Microsoft.AspNet.Authentication;
|
using Microsoft.AspNet.Authentication;
|
||||||
using Microsoft.AspNet.Authentication.Cookies;
|
using Microsoft.AspNet.Authentication.Cookies;
|
||||||
using Microsoft.AspNet.Authentication.JwtBearer;
|
using Microsoft.AspNet.Authentication.JwtBearer;
|
||||||
|
|
@ -267,8 +268,7 @@ namespace Yavsc
|
||||||
options =>
|
options =>
|
||||||
{
|
{
|
||||||
options.ResourcesPath = "Resources";
|
options.ResourcesPath = "Resources";
|
||||||
})
|
}).AddDataAnnotationsLocalization();
|
||||||
.AddDataAnnotationsLocalization( opt => opt.ResourcesPath = "Resources");
|
|
||||||
|
|
||||||
services.AddScoped<LanguageActionFilter>();
|
services.AddScoped<LanguageActionFilter>();
|
||||||
// Inject ticket formatting
|
// Inject ticket formatting
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue