Enumerations

The following enumerations are available globally.

  • The strength required for the password. The strength is measured on five simple criteria - lower case characters, upper case characters, numeric characters, special characters, and is more than 8 characters long. Each of these matched criteria moves the password strength of the string up one strength. Not having 8 character minimum reduces the string by one strength level.

    See more

    Declaration

    Swift

    public enum PasswordStrength : Int
  • Countries that are supported by PostcodeCondition. Each postcode is an ISO 3166-1 alpha-3 country code. There is a regex property that returns the regex for validating that country’s postcode.

    See more

    Declaration

    Swift

    public enum PostcodeCountries : String