# Authentication Server

> Request access tokens and authorization codes, never forwarded, with the Authentication Server endpoints that DS Server calls on its authentication servers.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Endpoint
- **Path:** DS Server > API Reference > Web API > Authentication Server
- **215 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/llms-full.txt

---

The Authentication Server endpoints request access tokens like the OAuth endpoints, but never forward a request to other authentication servers. A DS Server instance calls them on the instances registered as its authentication servers.

| Method | Endpoint | Description |
|---|---|---|
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/token/post/llms-full.txt) | [/authenticationserver/token](https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/token/post/llms-full.txt) | Requests an access token without forwarding the request to registered authentication servers. |
| [`GET`](https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/authorize/get/llms-full.txt) | [/authenticationserver/authorize](https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/authorize/get/llms-full.txt) | Requests an authorization code or an access token without forwarding the request to registered authentication servers. |

---

## In This Section

- [/authenticationserver/authorize](https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/authorize/llms-full.txt): The /authenticationserver/authorize endpoint of the DS Server Web API and its GET method, which returns authorization codes without forwarding to other servers.
- [/authenticationserver/token](https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/token/llms-full.txt): The /authenticationserver/token endpoint of the DS Server Web API and its POST method, which issues access tokens without asking other authentication servers.

---

## Nearby

- **Previous:** [GET /license/requeststring](https://docs.textcontrol.com/ds-server/reference/web-api/licensing/requeststring/get/llms-full.txt)
- **Next:** [/authenticationserver/token](https://docs.textcontrol.com/ds-server/reference/web-api/authenticationserver/token/llms-full.txt)
