Norsk

Ingen beskrivelse i spesifikasjonen.

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

Authenticate patron by code and code verifier from SSO login.

Parametere

Felles for operasjonene: version. Se den felles kontrakten på versjonssiden.

Request body

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

Svar

Feilsvar: 400 · 401 — Se den felles kontrakten på versjonssiden.
POST /patron/authentication/identity-provider GetPatronAuthenticationUrlByIdentityProvider

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

Parametere

identity_providerpåkrevd
query · ConfigurationPatronIdentityProviderTypeThe identity provider type, found in GET /configuration.
code_challengepåkrevd
query · stringA hashed value (of the code_verifier from a PKCE flow) used to secure the authorization code exchange.
statepåkrevd
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.
Felles for operasjonene: version. Se den felles kontrakten på versjonssiden.

Svar

Feilsvar: 400 · 401 — Se den felles kontrakten på versjonssiden.
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.

Parametere

Felles for operasjonene: version. Se den felles kontrakten på versjonssiden.

Request body

application/json · påkrevd

Authentication Patron without using password

PatronAuthenticationNoPasswordRequestBody

Svar

Feilsvar: 400 · 401 — Se den felles kontrakten på versjonssiden.