Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace lobby

Index

Functions

createAccount

  • createAccount(userProps: { email: string; username: string }): Promise<{ success: boolean }>
  • Create a user account.

    Parameters

    • userProps: { email: string; username: string }
      • email: string
      • username: string

    Returns Promise<{ success: boolean }>

isUsernameAvailable

  • isUsernameAvailable(username: string): Promise<boolean>
  • Check if a username is available.

    Parameters

    • username: string

    Returns Promise<boolean>

isUsernameValid

  • isUsernameValid(username: string): boolean
  • Check if a username is valid.

    Parameters

    • username: string

    Returns boolean

resendVerificationEmail

  • resendVerificationEmail(): Promise<{ success: boolean }>
  • Ask the fission server to send another verification email to the user currently logged in.

    Throws if the user is not logged in.

    Returns Promise<{ success: boolean }>

storeFileSystemRootKey

  • storeFileSystemRootKey(key: string): Promise<void>
  • Store the read key for the root PrivateTree (ie. /private)

    Parameters

    • key: string

    Returns Promise<void>

Generated using TypeDoc