remove ref to OWin & changes to AspNet.OAuth.Server
This commit is contained in:
parent
19b41ed9f4
commit
c2f4a71137
26 changed files with 7097 additions and 1451 deletions
|
|
@ -10,7 +10,7 @@ using Yavsc.Models.Booking;
|
|||
namespace Yavsc.Models
|
||||
{
|
||||
|
||||
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>, IApplicationStore
|
||||
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
|
||||
{
|
||||
protected override void OnModelCreating(ModelBuilder builder)
|
||||
{
|
||||
|
|
@ -151,7 +151,7 @@ namespace Yavsc.Models
|
|||
return Task.FromResult(0);
|
||||
}
|
||||
|
||||
IApplication IApplicationStore.FindApplication(string clientId)
|
||||
Application FindApplication(string clientId)
|
||||
{
|
||||
return Applications.FirstOrDefault(
|
||||
app=>app.ApplicationID == clientId);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ using System.ComponentModel.DataAnnotations;
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class Application : IApplication
|
||||
public class Application
|
||||
{
|
||||
[Key]
|
||||
public string ApplicationID { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue