> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/june5-3.7/web-api/authentifizierungskonzept.md).

# Authentifizierungskonzept

Das Authentifizierungskonzept ist am OAuth-Standard angelehnt. Um Rückgabewerte von der JUNE5 Web API zu erhalten muss sich ein Benutzer erst authentifizieren, sonst bekommt er die angefragten Daten nicht.

Der Anfragende bekommt, bei einer erfolgreichen Anmeldung über die Web API, einen Token übermittelt. Dieser ist von der anfragenden Client- Anwendung selbständig zu halten und bei jeder Anfrage dem Server mitzuteilen. Der JUNE5-Server prüft bei jeder Anfrage den Token auf Gültigkeit.

Ein Token hat eine voreingestellte Lebensdauer von 15 Minuten. Wird das Token länger als diese nicht mehr für die Serverkommunikation genutzt, läuft es ab. Das erfordert dann bei erneuter Kommunikation mit dem Server eine wiederholte Anmeldung beim Server.

![](/files/WrlUnygIpLsVq1JaWWrd)

Bitte beachten Sie:

* Der Token muss im Feld „June5-Token“ im Header jedes weiteren HTTP-Requests an den Server übermittelt werden.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.videc.de/june5-3.7/web-api/authentifizierungskonzept.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.
