dotnet restore ok

This commit is contained in:
2016-05-27 23:48:55 +02:00
parent 7aa1085474
commit 92fdf5555a
4 changed files with 1345 additions and 7262 deletions

View File

@ -100,7 +100,6 @@
"Microsoft.Framework.Configuration.Binder": "1.0.0-beta8",
"Microsoft.AspNet.Web.Optimization": "1.1.3",
"PayPalCoreSDK": "1.7.1",
"RazorEngine": "4.2.7-beta1",
"Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final",
"Microsoft.AspNetCore.Authentication.OAuth": "0.0.1-alpha",
"Microsoft.Extensions.Options": "0.0.1-alpha",
@ -113,7 +112,8 @@
"Microsoft.AspNet.Authentication.JwtBearer": "1.0.0-rc1-final",
"System.IdentityModel.Tokens": "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": {
"web": "Microsoft.AspNet.Server.Kestrel --server.urls http://*:5000",

File diff suppressed because it is too large Load Diff

View 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 {
}
}

View File

@ -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