/// <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 CellarUserProfileService(CellarUserStore users, ILogger <CellarUserProfileService> logger)
 {
     Users  = users;
     Logger = logger;
 }
Esempio n. 2
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 CellarUserResourceOwnerPasswordValidator(IdentityServerOptions options, CellarUserStore users)
 {
     _options = options;
     _users   = users;
 }