> For the complete documentation index, see [llms.txt](https://docs.laminar.run/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.laminar.run/debugging-an-integration/auth-credentials.md).

# Auth Credentials

## Overview

Auth Credentials are used by Laminar to make requests on protected API Endpoints described by API Descriptions.

Laminar supports various types of Authentication.

## AuthCredentials Model

| Field    | Type            |
| -------- | --------------- |
| id       | Integer (int64) |
| name     | String          |
| authType | String          |

#### OAuth Client Credentials Grant

| Field        | Type   |
| ------------ | ------ |
| clientId     | String |
| clientSecret | String |
| tokenUrl     | String |
| token        | String |

#### OAuth Password Credentials Grant

| Field        | Type   |
| ------------ | ------ |
| clientId     | String |
| clientSecret | String |
| tokenUrl     | String |
| username     | String |
| password     | String |

#### API Key Authentication

| Field  | Type   |
| ------ | ------ |
| apiKey | String |

#### Bearer Token Authentication

| Field | Type   |
| ----- | ------ |
| token | String |

#### Basic Authentication

| Field    | Type   |
| -------- | ------ |
| username | String |
| password | String |

#### Custom Authentication

| Field               | Type   |
| ------------------- | ------ |
| authorizationHeader | String |
| token               | String |
