Admin events¶
- class keycloak_admin_aio._resources.admin_events.AdminEvents¶
Provides the Keycloak admin events resource.
from keycloak_admin_aio import KeycloakAdmin kc: KeycloakAdmin # must be instantiated
- get_url()¶
Get the resource’s url.
- Return type:
str
- async get(auth_client=None, auth_ip_address=None, auth_realm=None, auth_user=None, date_from=None, date_to=None, first=None, max=None, operation_types=None, resource_path=None, resource_types=None)¶
Get admin events.
events: list[dict] = await kc.admin_events.get()
- Parameters:
auth_client (str | None)
auth_ip_address (str | None)
auth_realm (str | None)
auth_user (str | None)
date_from (str | None)
date_to (str | None)
first (int | None)
max (int | None)
operation_types (list[Literal['CREATE', 'DELETE', 'ACTION', 'UPDATE']] | None)
resource_path (str | None)
resource_types (list[Literal['REALM', 'REALM_ROLE', 'REALM_ROLE_MAPPING', 'REALM_SCOPE_MAPPING', 'AUTH_FLOW', 'AUTH_EXECUTION_FLOW', 'AUTH_EXECUTION', 'AUTHENTICATOR_CONFIG', 'REQUIRED_ACTION', 'IDENTITY_PROVIDER', 'IDENTITY_PROVIDER_MAPPER', 'PROTOCOL_MAPPER', 'USER', 'USER_LOGIN_FAILURE', 'USER_SESSION', 'USER_FEDERATION_PROVIDER', 'USER_FEDERATION_MAPPER', 'GROUP', 'GROUP_MEMBERSHIP', 'CLIENT', 'CLIENT_INITIAL_ACCESS_MODEL', 'CLIENT_ROLE', 'CLIENT_ROLE_MAPPING', 'CLIENT_SCOPE', 'CLIENT_SCOPE_MAPPING', 'CLIENT_SCOPE_CLIENT_MAPPING', 'CLUSTER_NODE', 'COMPONENT', 'AUTHORIZATION_RESOURCE_SERVER', 'AUTHORIZATION_RESOURCE', 'AUTHORIZATION_SCOPE', 'AUTHORIZATION_POLICY', 'CUSTOM']] | None)
- Return type:
list[dict]