19 #ifndef LIBMDM_MDM_PASSWORD_H 20 #define LIBMDM_MDM_PASSWORD_H 22 #include "mdm_client_type.h" 53 typedef struct _password_policy {
1041 #endif // LIBMDM_MDM_PASSWORD_H
mdm_result_t mdm_set_min_password_complex_chars(int value)
API to set minimum complex char in password.
mdm_result_t mdm_get_maximum_character_occurrences(int *p_value)
API to get the maximum number of times a character can occur in the device password.
mdm_result_t mdm_set_forbidden_strings(void *p_string_list)
API to set strings which are forbidden in the device password.
mdm_result_t mdm_set_maximum_failed_password_for_wipe(int value)
API to set the maximum failed passwords, before device is wiped.
This structure is used to store GList.
mdm_result_t mdm_set_password_pattern(char *p_pattern)
API to set the required password pattern.
mdm_result_t mdm_delete_password_pattern(void)
API to remove all password patterns.
mdm_result_t mdm_set_password_quality(mdm_password_quality_t pwd_quality)
API to set password quality.
mdm_result_t mdm_get_maximum_numeric_sequences_length(int *p_value)
API to get the maximum numeric sequence length allowed in the device password.
mdm_password_quality_t
PASSWORD QUALITY.
int max_length_for_numeric
mdm_result_t mdm_set_max_inactivity_time_device_lock(int value)
API to set the maximum time to lock.
mdm_data_t * mdm_get_password_pattern(void)
API to get password pattern.
mdm_result_t mdm_reset_password(char *p_password)
API to reset password.
void * forbidden_string_list
mdm_result_t mdm_set_password_history(int value)
API to set the number of previous passwords, that the user cannot use when prompted to change the pas...
mdm_result_t mdm_get_max_inactivity_time_device_lock(int *p_value)
API to get the maximum time to lock.
mdm_result_t mdm_set_maximum_numeric_sequences_length(int n_value)
API to set the maximum length of the numeric sequence which is allowed in the device password...
int max_count_for_occuring
mdm_result_t mdm_set_password_minimum_length(int value)
API to set password's minimum length.
mdm_result_t
MDM API result.
mdm_result_t mdm_enforce_password_change(void)
API to enforce password change.
mdm_result_t mdm_set_maximum_character_occurrences(int n_value)
API to set the maximum number of times a character can occur in the device password.
mdm_data_t * mdm_get_password_policy(void)
API to get password policy.
mdm_result_t mdm_set_password_expires(int value)
API to set the number of days password expires.
mdm_data_t * mdm_get_forbidden_strings(void)
API to retrieve the forbidden strings which cannot be used in the device password.