# 5. Securing Applications

**ZTrust** implements the **OpenID Connect (OIDC)** standard, providing endpoints and token types used in authentication, session management, and secure API access.

1. [Tokens](/ztrust-documentation/user-manual-ztrust-v4.2/5.-securing-applications/5.1-tokens-used-in-ztrust.md)
2. [Endpoints](/ztrust-documentation/user-manual-ztrust-v4.2/5.-securing-applications/5.2-endpoints-available-in-ztrust.md)
3. [Securing Spring Boot Application](/ztrust-documentation/user-manual-ztrust-v4.2/5.-securing-applications/5.3-securing-a-spring-boot-application.md)
4. [Securing Python Application](/ztrust-documentation/user-manual-ztrust-v4.2/5.-securing-applications/5.4-securing-a-python-application.md)
5. [OAuth Integration Manual using ZTrust](/ztrust-documentation/user-manual-ztrust-v4.2/5.-securing-applications/5.5-securing-a-commercial-off-the-shelf-cots-application.md)
6. [Securing Next.js with ZTrust via NextAuth.js OAuth](/ztrust-documentation/user-manual-ztrust-v4.2/5.-securing-applications/5.6-securing-a-next.js-application.md)

{% hint style="warning" %}
**Note:** Before proceeding to secure your application, make sure to review the sections on **Tokens** and **Endpoints**.

* **Tokens** define how authentication and authorization data is exchanged.
* **Endpoints** provide the entry points to request, validate, and manage these tokens.
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v4.2/5.-securing-applications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
