> For the complete documentation index, see [llms.txt](https://docs.haven1.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.haven1.org/build/developer-tools/haven1-sdk/haven1-sdk-api-client/class-haven1sdk.md).

# Class: Haven1SDK

Haven1SDK provides access to authentication and SDK functionalities.

This class serves as the entry point for interacting with the Haven1 system. It initializes and provides access to the AuthModule and SdkModule.

### Constructors

#### new Haven1SDK()

> **new Haven1SDK**(`config`): `Haven1SDK`

Creates a new instance of the Haven1SDK.

**Parameters**

**config**

`Config`

The configuration object containing the SDK and Auth API URLs.

**Returns**

`Haven1SDK`

**Defined in**

[haven1SDK.ts:22](https://github.com/haven1network/haven1-sdk/blob/0001e1c92905c3f34b86b89ff2290ffba9fe7417/packages/api-client/src/haven1SDK.ts#L22)

### Properties

#### auth

> **auth**: `AuthModule`

Instance of the AuthModule for authentication-related operations.

**Defined in**

[haven1SDK.ts:13](https://github.com/haven1network/haven1-sdk/blob/0001e1c92905c3f34b86b89ff2290ffba9fe7417/packages/api-client/src/haven1SDK.ts#L13)

***

#### sdk

> **sdk**: `SdkModule`

Instance of the SdkModule for SDK API functionalities.

**Defined in**

[haven1SDK.ts:15](https://github.com/haven1network/haven1-sdk/blob/0001e1c92905c3f34b86b89ff2290ffba9fe7417/packages/api-client/src/haven1SDK.ts#L15)
