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
users
TestUserStoreThe users.
clock
IClockThe clock.
- See Also
Methods
ValidateAsync(ResourceOwnerPasswordValidationContext)
Validates the resource owner password credential
public Task ValidateAsync(ResourceOwnerPasswordValidationContext context)
Parameters
context
ResourceOwnerPasswordValidationContextThe context.
Returns
- See Also