Class TestUserResourceOwnerPasswordValidator
- Namespace
- Duende.IdentityServer.Test
- Assembly
- Duende.IdentityServer.dll
Resource owner password validator for test users
public class TestUserResourceOwnerPasswordValidator : IResourceOwnerPasswordValidator- Inheritance
- 
      
      TestUserResourceOwnerPasswordValidator
- Implements
- Inherited Members
Constructors
TestUserResourceOwnerPasswordValidator(TestUserStore, IClock)
Initializes a new instance of the TestUserResourceOwnerPasswordValidator class.
public TestUserResourceOwnerPasswordValidator(TestUserStore users, IClock clock)Parameters
- usersTestUserStore
- The users. 
- clockIClock
- The clock. 
- See Also
Methods
ValidateAsync(ResourceOwnerPasswordValidationContext)
Validates the resource owner password credential
public Task ValidateAsync(ResourceOwnerPasswordValidationContext context)Parameters
- contextResourceOwnerPasswordValidationContext
- The context. 
Returns
- See Also