Class PineUserInputs

Constructors

Properties

USERNAME_KEY: "username" = 'username'
context: ExtensionContext
secrets: SecretStorage

Methods

  • Retrieves the stored username from the secrets storage. If no username is found, an empty string is returned.

    Returns Promise<string>

    The stored username or an empty string if not found.

  • Sets the username for the PineUserInputs instance. If a username is provided, it will be stored in the secrets storage. If no username is provided, a prompt will be shown to enter the username.

    Parameters

    • username: undefined | string = undefined

      The username to set.

    Returns Promise<void>

Generated using TypeDoc