backend::keycloak_api

Module api

source
Expand description

Keycloak API

This module contains the implementation of the client for the keycloak admin API. Find the documentation here of the keycloak admin API here: https://www.keycloak.org/docs-api/22.0.1/rest-api/index.html#_users/

Structsยง

  • The keycloak admin API.
  • AuthData ๐Ÿ”’
    Helper struct to cache the access token and its expiration time.
  • TokenResponse ๐Ÿ”’
    Helper struct to deserialize the token response.

Constantsยง

  • The default number of rows returned from a paginated request.
  • The minimum value for page number in a paginated request. Pages start at 1. Using a lower value would lead to nonsensical queries.
  • The minimum number of rows returned from a paginated query.

Functionsยง

  • to_base_url ๐Ÿ”’
    Helper function to create a base URL.