[][src]Struct keycloak::types::RealmRepresentation

pub struct RealmRepresentation<'a> {
    pub access_code_lifespan: Option<i32>,
    pub access_code_lifespan_login: Option<i32>,
    pub access_code_lifespan_user_action: Option<i32>,
    pub access_token_lifespan: Option<i32>,
    pub access_token_lifespan_for_implicit_flow: Option<i32>,
    pub account_theme: Option<Cow<'a, str>>,
    pub action_token_generated_by_admin_lifespan: Option<i32>,
    pub action_token_generated_by_user_lifespan: Option<i32>,
    pub admin_events_details_enabled: Option<bool>,
    pub admin_events_enabled: Option<bool>,
    pub admin_theme: Option<Cow<'a, str>>,
    pub attributes: Option<HashMap<Cow<'a, str>, Value>>,
    pub authentication_flows: Option<Vec<AuthenticationFlowRepresentation<'a>>>,
    pub authenticator_config: Option<Vec<AuthenticatorConfigRepresentation<'a>>>,
    pub browser_flow: Option<Cow<'a, str>>,
    pub browser_security_headers: Option<HashMap<Cow<'a, str>, Value>>,
    pub brute_force_protected: Option<bool>,
    pub client_authentication_flow: Option<Cow<'a, str>>,
    pub client_offline_session_idle_timeout: Option<i32>,
    pub client_offline_session_max_lifespan: Option<i32>,
    pub client_scope_mappings: Option<HashMap<Cow<'a, str>, Value>>,
    pub client_scopes: Option<Vec<ClientScopeRepresentation<'a>>>,
    pub client_session_idle_timeout: Option<i32>,
    pub client_session_max_lifespan: Option<i32>,
    pub clients: Option<Vec<ClientRepresentation<'a>>>,
    pub components: Option<MultivaluedHashMap>,
    pub default_default_client_scopes: Option<Vec<Cow<'a, str>>>,
    pub default_groups: Option<Vec<Cow<'a, str>>>,
    pub default_locale: Option<Cow<'a, str>>,
    pub default_optional_client_scopes: Option<Vec<Cow<'a, str>>>,
    pub default_roles: Option<Vec<Cow<'a, str>>>,
    pub default_signature_algorithm: Option<Cow<'a, str>>,
    pub direct_grant_flow: Option<Cow<'a, str>>,
    pub display_name: Option<Cow<'a, str>>,
    pub display_name_html: Option<Cow<'a, str>>,
    pub docker_authentication_flow: Option<Cow<'a, str>>,
    pub duplicate_emails_allowed: Option<bool>,
    pub edit_username_allowed: Option<bool>,
    pub email_theme: Option<Cow<'a, str>>,
    pub enabled: Option<bool>,
    pub enabled_event_types: Option<Vec<Cow<'a, str>>>,
    pub events_enabled: Option<bool>,
    pub events_expiration: Option<i64>,
    pub events_listeners: Option<Vec<Cow<'a, str>>>,
    pub failure_factor: Option<i32>,
    pub federated_users: Option<Vec<UserRepresentation<'a>>>,
    pub groups: Option<Vec<GroupRepresentation<'a>>>,
    pub id: Option<Cow<'a, str>>,
    pub identity_provider_mappers: Option<Vec<IdentityProviderMapperRepresentation<'a>>>,
    pub identity_providers: Option<Vec<IdentityProviderRepresentation<'a>>>,
    pub internationalization_enabled: Option<bool>,
    pub keycloak_version: Option<Cow<'a, str>>,
    pub login_theme: Option<Cow<'a, str>>,
    pub login_with_email_allowed: Option<bool>,
    pub max_delta_time_seconds: Option<i32>,
    pub max_failure_wait_seconds: Option<i32>,
    pub minimum_quick_login_wait_seconds: Option<i32>,
    pub not_before: Option<i32>,
    pub offline_session_idle_timeout: Option<i32>,
    pub offline_session_max_lifespan: Option<i32>,
    pub offline_session_max_lifespan_enabled: Option<bool>,
    pub otp_policy_algorithm: Option<Cow<'a, str>>,
    pub otp_policy_digits: Option<i32>,
    pub otp_policy_initial_counter: Option<i32>,
    pub otp_policy_look_ahead_window: Option<i32>,
    pub otp_policy_period: Option<i32>,
    pub otp_policy_type: Option<Cow<'a, str>>,
    pub otp_supported_applications: Option<Vec<Cow<'a, str>>>,
    pub password_policy: Option<Cow<'a, str>>,
    pub permanent_lockout: Option<bool>,
    pub protocol_mappers: Option<Vec<ProtocolMapperRepresentation<'a>>>,
    pub quick_login_check_milli_seconds: Option<i64>,
    pub realm: Option<Cow<'a, str>>,
    pub refresh_token_max_reuse: Option<i32>,
    pub registration_allowed: Option<bool>,
    pub registration_email_as_username: Option<bool>,
    pub registration_flow: Option<Cow<'a, str>>,
    pub remember_me: Option<bool>,
    pub required_actions: Option<Vec<RequiredActionProviderRepresentation<'a>>>,
    pub reset_credentials_flow: Option<Cow<'a, str>>,
    pub reset_password_allowed: Option<bool>,
    pub revoke_refresh_token: Option<bool>,
    pub roles: Option<RolesRepresentation<'a>>,
    pub scope_mappings: Option<Vec<ScopeMappingRepresentation<'a>>>,
    pub smtp_server: Option<HashMap<Cow<'a, str>, Value>>,
    pub ssl_required: Option<Cow<'a, str>>,
    pub sso_session_idle_timeout: Option<i32>,
    pub sso_session_idle_timeout_remember_me: Option<i32>,
    pub sso_session_max_lifespan: Option<i32>,
    pub sso_session_max_lifespan_remember_me: Option<i32>,
    pub supported_locales: Option<Vec<Cow<'a, str>>>,
    pub user_federation_mappers: Option<Vec<UserFederationMapperRepresentation<'a>>>,
    pub user_federation_providers: Option<Vec<UserFederationProviderRepresentation<'a>>>,
    pub user_managed_access_allowed: Option<bool>,
    pub users: Option<Vec<UserRepresentation<'a>>>,
    pub verify_email: Option<bool>,
    pub wait_increment_seconds: Option<i32>,
    pub web_authn_policy_acceptable_aaguids: Option<Vec<Cow<'a, str>>>,
    pub web_authn_policy_attestation_conveyance_preference: Option<Cow<'a, str>>,
    pub web_authn_policy_authenticator_attachment: Option<Cow<'a, str>>,
    pub web_authn_policy_avoid_same_authenticator_register: Option<bool>,
    pub web_authn_policy_create_timeout: Option<i32>,
    pub web_authn_policy_passwordless_acceptable_aaguids: Option<Vec<Cow<'a, str>>>,
    pub web_authn_policy_passwordless_attestation_conveyance_preference: Option<Cow<'a, str>>,
    pub web_authn_policy_passwordless_authenticator_attachment: Option<Cow<'a, str>>,
    pub web_authn_policy_passwordless_avoid_same_authenticator_register: Option<bool>,
    pub web_authn_policy_passwordless_create_timeout: Option<i32>,
    pub web_authn_policy_passwordless_require_resident_key: Option<Cow<'a, str>>,
    pub web_authn_policy_passwordless_rp_entity_name: Option<Cow<'a, str>>,
    pub web_authn_policy_passwordless_rp_id: Option<Cow<'a, str>>,
    pub web_authn_policy_passwordless_signature_algorithms: Option<Vec<Cow<'a, str>>>,
    pub web_authn_policy_passwordless_user_verification_requirement: Option<Cow<'a, str>>,
    pub web_authn_policy_require_resident_key: Option<Cow<'a, str>>,
    pub web_authn_policy_rp_entity_name: Option<Cow<'a, str>>,
    pub web_authn_policy_rp_id: Option<Cow<'a, str>>,
    pub web_authn_policy_signature_algorithms: Option<Vec<Cow<'a, str>>>,
    pub web_authn_policy_user_verification_requirement: Option<Cow<'a, str>>,
}

Fields

access_code_lifespan: Option<i32>access_code_lifespan_login: Option<i32>access_code_lifespan_user_action: Option<i32>access_token_lifespan: Option<i32>access_token_lifespan_for_implicit_flow: Option<i32>account_theme: Option<Cow<'a, str>>action_token_generated_by_admin_lifespan: Option<i32>action_token_generated_by_user_lifespan: Option<i32>admin_events_details_enabled: Option<bool>admin_events_enabled: Option<bool>admin_theme: Option<Cow<'a, str>>attributes: Option<HashMap<Cow<'a, str>, Value>>authentication_flows: Option<Vec<AuthenticationFlowRepresentation<'a>>>authenticator_config: Option<Vec<AuthenticatorConfigRepresentation<'a>>>browser_flow: Option<Cow<'a, str>>browser_security_headers: Option<HashMap<Cow<'a, str>, Value>>brute_force_protected: Option<bool>client_authentication_flow: Option<Cow<'a, str>>client_offline_session_idle_timeout: Option<i32>client_offline_session_max_lifespan: Option<i32>client_scope_mappings: Option<HashMap<Cow<'a, str>, Value>>client_scopes: Option<Vec<ClientScopeRepresentation<'a>>>client_session_idle_timeout: Option<i32>client_session_max_lifespan: Option<i32>clients: Option<Vec<ClientRepresentation<'a>>>components: Option<MultivaluedHashMap>default_default_client_scopes: Option<Vec<Cow<'a, str>>>default_groups: Option<Vec<Cow<'a, str>>>default_locale: Option<Cow<'a, str>>default_optional_client_scopes: Option<Vec<Cow<'a, str>>>default_roles: Option<Vec<Cow<'a, str>>>default_signature_algorithm: Option<Cow<'a, str>>direct_grant_flow: Option<Cow<'a, str>>display_name: Option<Cow<'a, str>>display_name_html: Option<Cow<'a, str>>docker_authentication_flow: Option<Cow<'a, str>>duplicate_emails_allowed: Option<bool>edit_username_allowed: Option<bool>email_theme: Option<Cow<'a, str>>enabled: Option<bool>enabled_event_types: Option<Vec<Cow<'a, str>>>events_enabled: Option<bool>events_expiration: Option<i64>events_listeners: Option<Vec<Cow<'a, str>>>failure_factor: Option<i32>federated_users: Option<Vec<UserRepresentation<'a>>>groups: Option<Vec<GroupRepresentation<'a>>>id: Option<Cow<'a, str>>identity_provider_mappers: Option<Vec<IdentityProviderMapperRepresentation<'a>>>identity_providers: Option<Vec<IdentityProviderRepresentation<'a>>>internationalization_enabled: Option<bool>keycloak_version: Option<Cow<'a, str>>login_theme: Option<Cow<'a, str>>login_with_email_allowed: Option<bool>max_delta_time_seconds: Option<i32>max_failure_wait_seconds: Option<i32>minimum_quick_login_wait_seconds: Option<i32>not_before: Option<i32>offline_session_idle_timeout: Option<i32>offline_session_max_lifespan: Option<i32>offline_session_max_lifespan_enabled: Option<bool>otp_policy_algorithm: Option<Cow<'a, str>>otp_policy_digits: Option<i32>otp_policy_initial_counter: Option<i32>otp_policy_look_ahead_window: Option<i32>otp_policy_period: Option<i32>otp_policy_type: Option<Cow<'a, str>>otp_supported_applications: Option<Vec<Cow<'a, str>>>password_policy: Option<Cow<'a, str>>permanent_lockout: Option<bool>protocol_mappers: Option<Vec<ProtocolMapperRepresentation<'a>>>quick_login_check_milli_seconds: Option<i64>realm: Option<Cow<'a, str>>refresh_token_max_reuse: Option<i32>registration_allowed: Option<bool>registration_email_as_username: Option<bool>registration_flow: Option<Cow<'a, str>>remember_me: Option<bool>required_actions: Option<Vec<RequiredActionProviderRepresentation<'a>>>reset_credentials_flow: Option<Cow<'a, str>>reset_password_allowed: Option<bool>revoke_refresh_token: Option<bool>roles: Option<RolesRepresentation<'a>>scope_mappings: Option<Vec<ScopeMappingRepresentation<'a>>>smtp_server: Option<HashMap<Cow<'a, str>, Value>>ssl_required: Option<Cow<'a, str>>sso_session_idle_timeout: Option<i32>sso_session_idle_timeout_remember_me: Option<i32>sso_session_max_lifespan: Option<i32>sso_session_max_lifespan_remember_me: Option<i32>supported_locales: Option<Vec<Cow<'a, str>>>user_federation_mappers: Option<Vec<UserFederationMapperRepresentation<'a>>>user_federation_providers: Option<Vec<UserFederationProviderRepresentation<'a>>>user_managed_access_allowed: Option<bool>users: Option<Vec<UserRepresentation<'a>>>verify_email: Option<bool>wait_increment_seconds: Option<i32>web_authn_policy_acceptable_aaguids: Option<Vec<Cow<'a, str>>>web_authn_policy_attestation_conveyance_preference: Option<Cow<'a, str>>web_authn_policy_authenticator_attachment: Option<Cow<'a, str>>web_authn_policy_avoid_same_authenticator_register: Option<bool>web_authn_policy_create_timeout: Option<i32>web_authn_policy_passwordless_acceptable_aaguids: Option<Vec<Cow<'a, str>>>web_authn_policy_passwordless_attestation_conveyance_preference: Option<Cow<'a, str>>web_authn_policy_passwordless_authenticator_attachment: Option<Cow<'a, str>>web_authn_policy_passwordless_avoid_same_authenticator_register: Option<bool>web_authn_policy_passwordless_create_timeout: Option<i32>web_authn_policy_passwordless_require_resident_key: Option<Cow<'a, str>>web_authn_policy_passwordless_rp_entity_name: Option<Cow<'a, str>>web_authn_policy_passwordless_rp_id: Option<Cow<'a, str>>web_authn_policy_passwordless_signature_algorithms: Option<Vec<Cow<'a, str>>>web_authn_policy_passwordless_user_verification_requirement: Option<Cow<'a, str>>web_authn_policy_require_resident_key: Option<Cow<'a, str>>web_authn_policy_rp_entity_name: Option<Cow<'a, str>>web_authn_policy_rp_id: Option<Cow<'a, str>>web_authn_policy_signature_algorithms: Option<Vec<Cow<'a, str>>>web_authn_policy_user_verification_requirement: Option<Cow<'a, str>>

Trait Implementations

impl<'a> Clone for RealmRepresentation<'a>[src]

impl<'a> Debug for RealmRepresentation<'a>[src]

impl<'a> Default for RealmRepresentation<'a>[src]

impl<'de, 'a> Deserialize<'de> for RealmRepresentation<'a>[src]

impl<'a> PartialEq<RealmRepresentation<'a>> for RealmRepresentation<'a>[src]

impl<'a> Serialize for RealmRepresentation<'a>[src]

impl<'a> StructuralPartialEq for RealmRepresentation<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.