Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IdentityUserProfileService"/> class.
 /// </summary>
 /// <param name="users">The users.</param>
 /// <param name="logger">The logger.</param>
 public IdentityUserProfileService(IdentityUserStore users, ILogger <IdentityUserProfileService> logger)
 {
     Users  = users;
     Logger = logger;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IdentityUserResourceOwnerPasswordValidator"/> class.
 /// </summary>
 /// <param name="users">The users.</param>
 /// <param name="clock">The clock.</param>
 public IdentityUserResourceOwnerPasswordValidator(IdentityUserStore users, ISystemClock clock)
 {
     _users = users;
     _clock = clock;
 }