Class PasswordAuthorization
The default password authentication mechanism.
Inheritance
PasswordAuthorization
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public class PasswordAuthorization : AuthorizationMechanism, IAuthorizationMechanism
Constructors
|
Improve this Doc
View Source
PasswordAuthorization(IFtpConnection, IEnumerable<IMembershipProvider>, IEnumerable<IAuthorizationAction>, IFtpServerMessages)
Declaration
public PasswordAuthorization(IFtpConnection connection, IEnumerable<IMembershipProvider> membershipProviders, IEnumerable<IAuthorizationAction> authorizationActions, IFtpServerMessages serverMessages)
Parameters
Methods
|
Improve this Doc
View Source
HandleAcctAsync(String, CancellationToken)
Declaration
public override Task<IFtpResponse> HandleAcctAsync(string account, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
HandlePassAsync(String, CancellationToken)
Declaration
public override Task<IFtpResponse> HandlePassAsync(string password, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
HandleUserAsync(String, CancellationToken)
Declaration
public override Task<IFtpResponse> HandleUserAsync(string userIdentifier, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Reset(Nullable<IAuthenticationMechanism>)
Declaration
public override void Reset(IAuthenticationMechanism? authenticationMechanism)
Parameters
Overrides
Implements