Show / Hide Table of Contents

    Interface IAuthorizationAction

    Interface for actions that need to be executed upon successful authorization.

    Namespace: FubarDev.FtpServer.Authorization
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IAuthorizationAction

    Properties

    | Improve this Doc View Source

    Level

    Gets the level of importance.

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

    Authorization actions with a higher level are executed first. The levels 1000 (inclusive) to 2000 (inclusive) are used internally to fill the connection information.

    Methods

    | Improve this Doc View Source

    AuthorizedAsync(IAccountInformation, CancellationToken)

    Notification of successful authorization.

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

    The account information that led to successful authorization.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    The task.

    • 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.