From d0f3e07c5ff99cde42ff56a0a02a1b005ce20a6f Mon Sep 17 00:00:00 2001 From: Thomas Brinkmann Date: Wed, 1 Jun 2022 17:53:22 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EAutorisierung=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Authorization.md => Autorisierung.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) rename Authorization.md => Autorisierung.md (77%) diff --git a/Authorization.md b/Autorisierung.md similarity index 77% rename from Authorization.md rename to Autorisierung.md index 6cba38f..8ec83dd 100644 --- a/Authorization.md +++ b/Autorisierung.md @@ -1,4 +1,4 @@ -## **Authorization** +## **Autorisierung** [Zurück zur Übersicht](Startseite) @@ -6,11 +6,10 @@ --- * Authorization Header -* Auth Middleware * IP Restrictions ### **Authorization Header** -The Auhorization header will be used to identify the client/API that connect to it. +Der Auhorization-Header wird verwendet, um den Client/die API zu identifizieren, der/die sich damit verbindet. ### **PHP** Example to set the Header with PHP-Curl: @@ -97,4 +96,10 @@ request(options, function (error, response) { if (error) throw new Error(error); console.log(response.body); }); -``` \ No newline at end of file +``` +--- + +### IP Restrictions + +Jeder Client der die API ansteuert muss von einer IP-Adresse stammen die eingetragen ist. Nicht eingetragene IP-Adressen werden abgelehnt. +Es wird später möglich sein weitere User Accounts zu definieren um Unterkonten zu erstellen welche ebenfalls die API verwenden dürfen.