Dansk

Ingen beskrivelse i specifikationen.

2 operationer
POST /authentication/oauth2/revoke RevokeToken

Revoke access token

Revoke an access token.

Request body

application/x-www-form-urlencoded · valgfri

The token that we want to revoke.

RevokeTokenRequestBody

Svar

  • 200 Intet indhold i svaret. Token was successfully revoked, or the token was invalid (i.e. it was already 'revoked').
Fejlsvar: 400 — Se den fælles kontrakt på versionssiden.
POST /authentication/oauth2/token AuthenticateClient

Authenticate client

Authenticate the client to obtain a token. It is recommended that the returned token is a JWT as this can come in handy if any part of the API, e.g. the search API, needs to be delegated to a third party. The JWT could be used to ensure that only authorized clients have access to the third party API.

Request body

application/x-www-form-urlencoded · valgfri

The authentication client credentials.

AuthenticationClientCredentialsRequestBody

Svar

Fejlsvar: 400 · 401 — Se den fælles kontrakt på versionssiden.