# dash

## Constructor

`new dash(dashAuth: object): Dash`

### Paramaters

**object**[**:**](https://github.com/PrismarineJS/prismarine-auth) [DashAuth](https://pyrondev.gitbook.io/dash/reference/documentation/..#dashauth)

### Returns Dash instance

## Properties

* **xstsToken**: string - Used for authenticating requests
* **userHash**: string - Used for authenticating requests

## Methods

* [realm](#realm)
* [realmFromInvite](#realmfrominvite)

## realm

`realm(realmID: integer):` [`realm`](https://pyrondev.gitbook.io/dash/reference/documentation/dash/realm)

### Parameters

* **realmID**: integer

### Returns [realm](https://pyrondev.gitbook.io/dash/reference/documentation/dash/realm) instance

## realmFromInvite

`realmFromInvite(realmInvite: string):`[`realm`](https://pyrondev.gitbook.io/dash/reference/documentation/dash/realm)

### Parameters

* **realmInvite**: string

### Returns [realm](https://pyrondev.gitbook.io/dash/reference/documentation/dash/realm) instance

## client

`client():`[`client`](https://pyrondev.gitbook.io/dash/reference/documentation/dash/client)

### Returns [client](https://pyrondev.gitbook.io/dash/reference/documentation/dash/client) instance
