Glider Inputs Validator

object GliderInputsValidator : InputsValidator

The GliderInputsValidator class is useful to validate the inputs

Author

N7ghtm4r3 - Tecknobit

See also

InputsValidator

Properties

Link copied to clipboard
const val SCOPES_MAX_LENGTH: Int = 50

SCOPES_MAX_LENGTH max allowed length for the scopes of the passwords

Link copied to clipboard
const val TAIL_MAX_LENGTH: Int = 30

TAIL_MAX_LENGTH max allowed length for the tail of the passwords

Functions

Link copied to clipboard
fun passwordLengthValid(passwordLength: Int): Boolean

Method to validate the length of the password

Link copied to clipboard
fun scopesAreValid(scopes: String?): Boolean

Method to validate a scopes

Link copied to clipboard
fun tailIsValid(tail: String?): Boolean

Method to validate a tail