Skip to main content

PasswordRules

Rules a new password must meet wherever it is set.

type PasswordRules {
forbidName: Boolean!
maxBytes: Int!
maxLength: Int!
minLength: Int!
requireCharacterMix: Boolean!
}

Fields​

PasswordRules.forbidName ● Boolean! non-null scalar common​

Whether a password must not contain any part of the user’s first or last name that is 3 letters or longer.

PasswordRules.maxBytes ● Int! non-null scalar common​

Maximum UTF-8 encoded size of a password, in bytes.

PasswordRules.maxLength ● Int! non-null scalar common​

Most characters a password can have.

PasswordRules.minLength ● Int! non-null scalar common​

Fewest characters a password can have.

PasswordRules.requireCharacterMix ● Boolean! non-null scalar common​

Whether a password must contain upper-case letters, lower-case letters, numbers, and special characters.

Returned By​

passwordRules query