# Authentication

> Request an OAuth access token at /oauth/token with the client credentials or authorization code grant, send it as a Bearer header and renew it in curl or .NET.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** DS Server > Document Processing > Authentication
- **Web URL:** https://docs.textcontrol.com/ds-server/document-processing/authentication/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/document-processing/authentication/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/document-processing/authentication/llms-full.txt

---

## On This Page

- [How Authentication Works](https://docs.textcontrol.com/ds-server/document-processing/authentication/#how-authentication-works)
- [Request an Access Token](https://docs.textcontrol.com/ds-server/document-processing/authentication/#request-an-access-token)
- [Send the Token With a Request](https://docs.textcontrol.com/ds-server/document-processing/authentication/#send-the-token-with-a-request)
- [Renew the Token](https://docs.textcontrol.com/ds-server/document-processing/authentication/#renew-the-token)
- [Use the Authorization Code Flow](https://docs.textcontrol.com/ds-server/document-processing/authentication/#use-the-authorization-code-flow)
- [Authenticate With the .NET Package](https://docs.textcontrol.com/ds-server/document-processing/authentication/#authenticate-with-the-net-package)
- [When OAuth Is Disabled](https://docs.textcontrol.com/ds-server/document-processing/authentication/#when-oauth-is-disabled)
- [Next Steps](https://docs.textcontrol.com/ds-server/document-processing/authentication/#next-steps)

---

## Nearby

- **Previous:** [Document Processing](https://docs.textcontrol.com/ds-server/document-processing/llms.txt)
- **Next:** [Converting Documents](https://docs.textcontrol.com/ds-server/document-processing/converting/llms.txt)
