Dansk

Ingen beskrivelse i specifikationen.

4 operationer
POST /patron/authentication/authenticate-token AuthenticatePatronByCodeAndCodeVerifier

Authenticate patron by code and code verifier from SSO login.

Parametre

Fælles for operationerne: version. Se den fælles kontrakt på versionssiden.

Request body

application/x-www-form-urlencoded · påkrævet
codepåkrævet
stringThe code obtained from a SSO patron authentication.
code_verifierpåkrævet
stringThe code verifier use to create the code challenge use to obtained the code.
identity_providerpåkrævet
ConfigurationPatronIdentityProviderType

Svar

Fejlsvar: 400 · 401 — Se den fælles kontrakt på versionssiden.
POST /patron/authentication/identity-provider GetPatronAuthenticationUrlByIdentityProvider

This will fetch a SSO URL used for patron login, matching the chosen identity provider.

Parametre

identity_providerpåkrævet
query · ConfigurationPatronIdentityProviderTypeThe identity provider type, found in GET /configuration.
code_challengepåkrævet
query · stringA hashed value (of the code_verifier from a PKCE flow) used to secure the authorization code exchange.
statepåkrævet
query · stringA random string to protect against CSRF and track the request state. The value should be returned to the Vendor on the callback url after login.
prompt
query · string enumIf prompt is set to login, the returned url should force a new login, even if the user is already logged in.
app_redirect_url
query · string (uri)This value should be returned to the Vendor on the callback url after login.
Fælles for operationerne: version. Se den fælles kontrakt på versionssiden.

Svar

Fejlsvar: 400 · 401 — Se den fælles kontrakt på versionssiden.
POST /patron/authentication/no-password AuthenticatePatronNoPassword

Authenticate patron without use of a password

Authenticate patron without use of a password. This should only be used when absolutely necessary.

Parametre

Fælles for operationerne: version. Se den fælles kontrakt på versionssiden.

Request body

application/json · påkrævet

Authentication Patron without using password

PatronAuthenticationNoPasswordRequestBody

Svar

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