View Source GoogleApi.AndroidManagement.V1.Model.PasswordRequirements (google_api_android_management v0.48.0)

Requirements for the password used to unlock a device.

Attributes

  • maximumFailedPasswordsForWipe (type: integer(), default: nil) - Number of incorrect device-unlock passwords that can be entered before a device is wiped. A value of 0 means there is no restriction.
  • passwordExpirationTimeout (type: String.t, default: nil) - Password expiration timeout.
  • passwordHistoryLength (type: integer(), default: nil) - The length of the password history. After setting this field, the user won't be able to enter a new password that is the same as any password in the history. A value of 0 means there is no restriction.
  • passwordMinimumLength (type: integer(), default: nil) - The minimum allowed password length. A value of 0 means there is no restriction. Only enforced when password_quality is NUMERIC, NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX.
  • passwordMinimumLetters (type: integer(), default: nil) - Minimum number of letters required in the password. Only enforced when password_quality is COMPLEX.
  • passwordMinimumLowerCase (type: integer(), default: nil) - Minimum number of lower case letters required in the password. Only enforced when password_quality is COMPLEX.
  • passwordMinimumNonLetter (type: integer(), default: nil) - Minimum number of non-letter characters (numerical digits or symbols) required in the password. Only enforced when password_quality is COMPLEX.
  • passwordMinimumNumeric (type: integer(), default: nil) - Minimum number of numerical digits required in the password. Only enforced when password_quality is COMPLEX.
  • passwordMinimumSymbols (type: integer(), default: nil) - Minimum number of symbols required in the password. Only enforced when password_quality is COMPLEX.
  • passwordMinimumUpperCase (type: integer(), default: nil) - Minimum number of upper case letters required in the password. Only enforced when password_quality is COMPLEX.
  • passwordQuality (type: String.t, default: nil) - The required password quality.
  • passwordScope (type: String.t, default: nil) - The scope that the password requirement applies to.
  • requirePasswordUnlock (type: String.t, default: nil) - The length of time after a device or work profile is unlocked using a strong form of authentication (password, PIN, pattern) that it can be unlocked using any other authentication method (e.g. fingerprint, trust agents, face). After the specified time period elapses, only strong forms of authentication can be used to unlock the device or work profile.
  • unifiedLockSettings (type: String.t, default: nil) - Controls whether a unified lock is allowed for the device and the work profile, on devices running Android 9 and above with a work profile. This can be set only if password_scope is set to SCOPE_PROFILE, the policy will be rejected otherwise. If user has not set a separate work lock and this field is set to REQUIRE_SEPARATE_WORK_LOCK, a NonComplianceDetail is reported with nonComplianceReason set to USER_ACTION.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidManagement.V1.Model.PasswordRequirements{
  maximumFailedPasswordsForWipe: integer() | nil,
  passwordExpirationTimeout: String.t() | nil,
  passwordHistoryLength: integer() | nil,
  passwordMinimumLength: integer() | nil,
  passwordMinimumLetters: integer() | nil,
  passwordMinimumLowerCase: integer() | nil,
  passwordMinimumNonLetter: integer() | nil,
  passwordMinimumNumeric: integer() | nil,
  passwordMinimumSymbols: integer() | nil,
  passwordMinimumUpperCase: integer() | nil,
  passwordQuality: String.t() | nil,
  passwordScope: String.t() | nil,
  requirePasswordUnlock: String.t() | nil,
  unifiedLockSettings: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.