/// <summary> /// Initializes a new instance of the <see cref="IdentityServer4.Test.TestUserResourceOwnerPasswordValidator"/> class. /// </summary> /// <param name="users">The users.</param> /// <param name="clock">The clock.</param> public UserResourceOwnerPasswordValidator( IMongoDbUserStore users, ISystemClock clock) { this.users = Guard.IsNotNull(users, nameof(users)); this.clock = Guard.IsNotNull(clock, nameof(clock)); }
public CustomProfileService( IMongoDbUserStore userStore) { this.userStore = Guard.IsNotNull(userStore, nameof(userStore)); }