RGex Builder Platform - v1.2.0
    Preparing search index...

    Interface PasswordValidationResult

    interface PasswordValidationResult {
        error: null | { message: string; requirements: string[] };
        pass: {
            length: { passed: boolean; required: boolean; message: string };
            hasNumber: { passed: boolean; required: boolean; message: string };
            hasSpecial: { passed: boolean; required: boolean; message: string };
            hasUpperChar: { passed: boolean; required: boolean; message: string };
            hasLowerChar: { passed: boolean; required: boolean; message: string };
            hasSymbol: { passed: boolean; required: boolean; message: string };
            hasUnicode: { passed: boolean; required: boolean; message: string };
            noSequential: { passed: boolean; required: boolean; message: string };
            noRepeating: { passed: boolean; required: boolean; message: string };
            noCommonWords: { passed: boolean; required: boolean; message: string };
            customPattern: { passed: boolean; required: boolean; message: string };
        };
        score: number;
        strength: "very-weak"
        | "weak"
        | "fair"
        | "good"
        | "strong"
        | "very-strong";
    }
    Index

    Properties

    error: null | { message: string; requirements: string[] }
    pass: {
        length: { passed: boolean; required: boolean; message: string };
        hasNumber: { passed: boolean; required: boolean; message: string };
        hasSpecial: { passed: boolean; required: boolean; message: string };
        hasUpperChar: { passed: boolean; required: boolean; message: string };
        hasLowerChar: { passed: boolean; required: boolean; message: string };
        hasSymbol: { passed: boolean; required: boolean; message: string };
        hasUnicode: { passed: boolean; required: boolean; message: string };
        noSequential: { passed: boolean; required: boolean; message: string };
        noRepeating: { passed: boolean; required: boolean; message: string };
        noCommonWords: { passed: boolean; required: boolean; message: string };
        customPattern: { passed: boolean; required: boolean; message: string };
    }
    score: number
    strength: "very-weak" | "weak" | "fair" | "good" | "strong" | "very-strong"