Show / Hide Table of Contents

    Class SetHomeDirectoryAction

    Sets the home directory for the connection.

    Inheritance
    Object
    SetHomeDirectoryAction
    Implements
    IAuthorizationAction
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: FubarDev.FtpServer.Authorization.Actions
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class SetHomeDirectoryAction : IAuthorizationAction

    Constructors

    | Improve this Doc View Source

    SetHomeDirectoryAction(IOptions<SetHomeDirectoryActionOptions>, IFtpConnectionAccessor, IAccountDirectoryQuery, Nullable<ILogger<SetHomeDirectoryAction>>)

    Initializes a new instance of the SetHomeDirectoryAction class.

    Declaration
    public SetHomeDirectoryAction(IOptions<SetHomeDirectoryActionOptions> options, IFtpConnectionAccessor ftpConnectionAccessor, IAccountDirectoryQuery accountDirectoryQuery, ILogger<SetHomeDirectoryAction>? logger = default(ILogger<SetHomeDirectoryAction>? ))
    Parameters
    Type Name Description
    IOptions<SetHomeDirectoryActionOptions> options

    The options for the SetHomeDirectoryAction.

    IFtpConnectionAccessor ftpConnectionAccessor

    The FTP connection accessor.

    IAccountDirectoryQuery accountDirectoryQuery

    Interface to query account directories.

    Nullable<ILogger<SetHomeDirectoryAction>> logger

    The logger.

    Properties

    | Improve this Doc View Source

    Level

    Declaration
    public int Level { get; }
    Property Value
    Type Description
    Int32

    Methods

    | Improve this Doc View Source

    AuthorizedAsync(IAccountInformation, CancellationToken)

    Declaration
    public Task AuthorizedAsync(IAccountInformation accountInformation, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IAccountInformation accountInformation
    CancellationToken cancellationToken
    Returns
    Type Description
    Task

    Implements

    IAuthorizationAction
    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.