# SessionWithLogout · FT4 TypeScript client · Chromia Docs (concept)

> type SessionWithLogout = { logout : () => Promise<void>; session : Session ;
} Properties logout logout: () => Promise<void> Deletes the disposable auth de

Source: https://docs.chromia.com/pages/ft4-ts-client/types/authentication.SessionWithLogout/

Type Alias

# SessionWithLogout

On this page

* [Properties](#properties)
* [logout](#logout)
* [session](#session)

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

## Properties

### logout

```signature
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.

### session

```signature
session: Session
```

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/types/authentication.SessionWithLogout.html)Generated API reference, mirrored from the live docs
