Skip to content

Commit

Permalink
Thanks for @gustavomick for the solution
Browse files Browse the repository at this point in the history
Logins, Roles amd Claims should now be supported.
  • Loading branch information
wallaceiam committed Sep 3, 2016
1 parent 9888983 commit ac13391
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions MyMojo.AspNet.Identity.MongoDb/IdentityUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,22 +153,22 @@ public IdentityUser(string userName) : this()
/// <summary>
/// Navigation property for the roles this user belongs to.
/// </summary>
public virtual ICollection<TUserRole> Roles { get; } = new List<TUserRole>();
public virtual ICollection<TUserRole> Roles { get; set; } = new List<TUserRole>();

/// <summary>
/// Navigation property for the claims this user possesses.
/// </summary>
public virtual ICollection<TUserClaim> Claims { get; } = new List<TUserClaim>();
public virtual ICollection<TUserClaim> Claims { get; set; } = new List<TUserClaim>();

/// <summary>
/// Navigation property for this users login accounts.
/// </summary>
public virtual ICollection<TUserLogin> Logins { get; } = new List<TUserLogin>();
public virtual ICollection<TUserLogin> Logins { get; set; } = new List<TUserLogin>();

/// <summary>
/// Navigation property for this users login accounts.
/// </summary>
public virtual ICollection<TUserToken> Tokens { get; } = new List<TUserToken>();
public virtual ICollection<TUserToken> Tokens { get; set; } = new List<TUserToken>();

/// <summary>
/// Returns the username for this user.
Expand Down
4 changes: 2 additions & 2 deletions MyMojo.AspNet.Identity.MongoDb/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]

0 comments on commit ac13391

Please sign in to comment.