/// <summary>
 /// Initializes a new instance of the <see cref="TestUserResourceOwnerPasswordValidator"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 /// <param name="users">The users.</param>
 public TestUserResourceOwnerPasswordValidator(IdentityServerOptions options, TestUserStore users, ISystemClock clock)
 {
     _options = options;
     _users   = users;
     _clock   = clock;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestUserResourceOwnerPasswordValidator"/> class.
 /// </summary>
 /// <param name="users">The users.</param>
 public TestUserResourceOwnerPasswordValidator(TestUserStore users)
 {
     _users = users;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestUserProfileService"/> class.
 /// </summary>
 /// <param name="users">The users.</param>
 /// <param name="logger">The logger.</param>
 public TestUserProfileService(TestUserStore users, ILogger <TestUserProfileService> logger)
 {
     Users  = users;
     Logger = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestUserResourceOwnerPasswordValidator"/> class.
 /// </summary>
 /// <param name="users">The users.</param>
 /// <param name="clock">The clock.</param>
 public TestUserResourceOwnerPasswordValidator(TestUserStore users, ISystemClock clock)
 {
     _users = users;
     _clock = clock;
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestUserResourceOwnerPasswordValidator"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 /// <param name="users">The users.</param>
 public TestUserResourceOwnerPasswordValidator(IdentityServerOptions options, TestUserStore users)
 {
     _options = options;
     _users   = users;
 }
Esempio n. 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestUserProfileService"/> class.
 /// </summary>
 /// <param name="users">The users.</param>
 /// <param name="logger">The logger.</param>
 public TestUserProfileService(TestUserStore users, ILogger <TestUserProfileService> logger, IUsersService usersService)
 {
     _usersService = usersService;
     Users         = users;
     Logger        = logger;
 }
 public TestUserProfileService(TestUserStore users)
 {
     _users = users;
 }