FairosProvider is the provider for the FairOS provider.

Hierarchy

Constructors

Properties

filesystemDriver: ProviderDriver
mount: Mount
onMount: Subject<Mount> = ...

Methods

  • getFSHandler returns a FileSystemDirectoryHandle for the given provider.

    Returns

    a FileSystemDirectoryHandle

    Parameters

    • mount: Mount

      mount point

    Returns Promise<FileSystemDirectoryHandle>

  • Verify if a user is logged in

    Returns

    Returns a promise with the response

    Parameters

    • username: string

      username

    Returns Promise<any>

  • Login a user

    Returns

    Returns a promise with the response

    Parameters

    • user: string

      username

    • pass: string

      password

    Returns Promise<any>

Generated using TypeDoc