Show / Hide Table of Contents

    Interface IGoogleDriveServiceProvider

    An interface to get the Google Drive service for the given user.

    Namespace: FubarDev.FtpServer.FileSystem.GoogleDrive
    Assembly: FubarDev.FtpServer.FileSystem.GoogleDrive.dll
    Syntax
    public interface IGoogleDriveServiceProvider

    Methods

    | Improve this Doc View Source

    GetUserRootAsync(IAccountInformation, CancellationToken)

    Gets the Google Drive service and root entry for the given user.

    Declaration
    Task<(DriveService service, File rootEntry)> GetUserRootAsync(IAccountInformation accountInformation, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IAccountInformation accountInformation

    The FTP account to create the IUnixFileSystem for.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<ValueTuple<Google.Apis.Drive.v3.DriveService, Google.Apis.Drive.v3.Data.File>>

    The Google Drive service and the root entry.

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