{"_id":"5703898d18ad001700a296a4","project":"56d43c20ffd25c150090e049","user":"561f59254d67490d00804aa2","category":{"_id":"5703898d18ad001700a2968f","version":"5703898d18ad001700a2968d","project":"56d43c20ffd25c150090e049","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-01T09:55:28.764Z","from_sync":false,"order":2,"slug":"authentifizierung","title":"Authentifizierung"},"__v":0,"version":{"_id":"5703898d18ad001700a2968d","project":"56d43c20ffd25c150090e049","__v":1,"hasDoc":true,"hasReference":true,"createdAt":"2016-04-05T09:46:53.342Z","releaseDate":"2016-04-05T09:46:53.342Z","categories":["5703898d18ad001700a2968e","5703898d18ad001700a2968f","5703898d18ad001700a29690","5703898d18ad001700a29691","5703898d18ad001700a29692"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.2.0","version":"1.2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-03-01T09:57:33.461Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":17,"body":"Der Client schickt die Zugangsdaten des Benutzers mit.\n\n    POST /oauth/token\n\n| Parameter     | Datentyp         | Beschreibung                                 |\n| ------------- | ---------------- | -------------------------------------------- |\n| client_id     | Int              | ID des OAuth-Clients                         |\n| client_secret | String           | Secret des OAuth-Clients                     |\n| grant_type    | Enum<_password_> | Authorisierungstyp für Benutzerzugangsdaten. |\n| username      | String           | Anmeldename des Nutzers.                     |\n| password      | String           | Passwort des Nutzers.                        |\n\nDie Rückgabe erfolgt im JSON-Format.\n\n| Rückgabe     | Datentyp       | Beschreibung                                                     |\n| ------------ | -------------- | ---------------------------------------------------------------- |\n| access_token | String         | AccessToken                                                      |\n| token_type   | Enum<_bearer_> | Bearer-Token                                                     |\n| expires_in   | Int            | Token läuft ab in x Sekunden, ausgehend vom UTC-Erstellungsdatum |\n| scope        | ?              | Erlaubter Scope (nicht definiert)                                |","excerpt":"","slug":"passwort-authentifizierung","type":"basic","title":"Passwort Authentifizierung"}

Passwort Authentifizierung


Der Client schickt die Zugangsdaten des Benutzers mit. POST /oauth/token | Parameter | Datentyp | Beschreibung | | ------------- | ---------------- | -------------------------------------------- | | client_id | Int | ID des OAuth-Clients | | client_secret | String | Secret des OAuth-Clients | | grant_type | Enum<_password_> | Authorisierungstyp für Benutzerzugangsdaten. | | username | String | Anmeldename des Nutzers. | | password | String | Passwort des Nutzers. | Die Rückgabe erfolgt im JSON-Format. | Rückgabe | Datentyp | Beschreibung | | ------------ | -------------- | ---------------------------------------------------------------- | | access_token | String | AccessToken | | token_type | Enum<_bearer_> | Bearer-Token | | expires_in | Int | Token läuft ab in x Sekunden, ausgehend vom UTC-Erstellungsdatum | | scope | ? | Erlaubter Scope (nicht definiert) |