Authentication management

https://www.keycloak.org/docs-api/26.0.0/rest-api/index.html#_authentication_management

class keycloak_admin_aio._resources.authentication.Authentication

Provides the Keycloak authentication management resource.

get_url()

Get the resource’s url.

Return type:

str

Required actions

class keycloak_admin_aio._resources.authentication.required_actions.AuthenticationRequiredActions

Required actions for a realm.

from keycloak_admin_aio import KeycloakAdmin, RequiredActionProviderRepresentation

kc: KeycloakAdmin  # must be instantiated
get_url()

Get the resource’s url.

Return type:

str

async get()

Get required actions.

required_actions: list[
    RequiredActionProviderRepresentation
] = await kc.authentication.required_actions.get()
Return type:

list[RequiredActionProviderRepresentation]