SessionWithLogout: {
    logout: (() => Promise<void>);
    session: Session;
}

Type declaration

  • logout: (() => Promise<void>)

    Deletes the disposable auth descriptor from the account and the key from memory, making the account inaccessible to this key and the key inaccessible to this machine unless stored elsewhere.

      • (): Promise<void>
      • Returns Promise<void>

  • session: Session