Interface IMembershipProvider
Membership provider interface.
Namespace: FubarDev.FtpServer.AccountManagement
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IMembershipProvider
Remarks
This interface must be implemented to allow the username/password authentication.
Methods
| Improve this Doc View SourceValidateUserAsync(String, String)
Validates if the combination of username and password is valid.
Declaration
Task<MemberValidationResult> ValidateUserAsync(string username, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| String | username | The user name. |
| String | password | The password. |
Returns
| Type | Description |
|---|---|
| Task<MemberValidationResult> | The result of the validation. |