> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.emtelligent.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.emtelligent.com/_mcp/server.

# auth

## Module Contents

### Classes

| Name                                                                       | Description                                                                                                                                                                                                               |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`AuthSession`](#emtellisplit_sdk_pythonauthauthsession)                   | In order for the concepts defined in this file to be generalized across all our products, its better that the API servers need to be in union with respect to their auth related behaviours (status code, error message). |
| [`APIKeySession`](#emtellisplit_sdk_pythonauthapikeysession)               | In order for the concepts defined in this file to be generalized across all our products, its better that the API servers need to be in union with respect to their auth related behaviours (status code, error message). |
| [`RefreshingJWTSession`](#emtellisplit_sdk_pythonauthrefreshingjwtsession) | In order for the concepts defined in this file to be generalized across all our products, its better that the API servers need to be in union with respect to their auth related behaviours (status code, error message). |

### Functions

| Name                                                               | Description |
| ------------------------------------------------------------------ | ----------- |
| [`get_auth_session`](#emtellisplit_sdk_pythonauthget_auth_session) |             |

### API

#### `emtellisplit_sdk_python.auth.AuthSession`

```python
class emtellisplit_sdk_python.auth.AuthSession
```

**Bases**: `requests.Session`

In order for the concepts defined in this file to be generalized across all our products,
its better that the API servers need to be in union with respect to their auth related behaviours
(status code, error message).

#### `emtellisplit_sdk_python.auth.APIKeySession`

```python
class emtellisplit_sdk_python.auth.APIKeySession(api_key, *args, **kwargs)
```

**Bases**: `emtellisplit_sdk_python.auth.AuthSession`, `requests.Session`

#### `emtellisplit_sdk_python.auth.RefreshingJWTSession`

```python
class emtellisplit_sdk_python.auth.RefreshingJWTSession(iam_url, server_url, user_name, password, *args, **kwargs)
```

**Bases**: `emtellisplit_sdk_python.auth.AuthSession`, `requests.Session`

##### `RefreshingJWTSession.request`

```python
request(
    method,
    url,
    *args,
    **kwargs
)
```

#### `emtellisplit_sdk_python.auth.get_auth_session`

```python
emtellisplit_sdk_python.auth.get_auth_session(
    emtellisplit_url,
    iam_url = None,
    credentials = None,
    **kwargs
) -> emtellisplit_sdk_python.auth.AuthSession
```