Member Junction
    Preparing search index...

    Action that checks password strength and generates secure passwords

    // Check password strength
    await runAction({
    ActionName: 'Password Strength',
    Params: [{
    Name: 'Operation',
    Value: 'check'
    }, {
    Name: 'Password',
    Value: 'MyPassword123!'
    }, {
    Name: 'UserInputs',
    Value: ['john', 'doe', 'john.doe@example.com']
    }]
    });

    // Generate secure password
    await runAction({
    ActionName: 'Password Strength',
    Params: [{
    Name: 'Operation',
    Value: 'generate'
    }, {
    Name: 'Length',
    Value: 16
    }, {
    Name: 'IncludeSymbols',
    Value: true
    }, {
    Name: 'ExcludeAmbiguous',
    Value: true
    }]
    });

    // Generate with requirements
    await runAction({
    ActionName: 'Password Strength',
    Params: [{
    Name: 'Operation',
    Value: 'generate'
    }, {
    Name: 'Requirements',
    Value: {
    minLength: 12,
    maxLength: 20,
    minLowercase: 2,
    minUppercase: 2,
    minNumbers: 2,
    minSymbols: 1
    }
    }]
    });

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Checks password strength or generates secure passwords

      Parameters

      • params: RunActionParams

        The action parameters containing:

        • Operation: "check" | "generate" (required)
        • For check operation:
          • Password: Password to check (required)
          • UserInputs: Array of user-related strings to check against (optional)
          • Requirements: Object with minimum requirements (optional)
        • For generate operation:
          • Length: Password length (default: 16)
          • IncludeUppercase: Include uppercase letters (default: true)
          • IncludeLowercase: Include lowercase letters (default: true)
          • IncludeNumbers: Include numbers (default: true)
          • IncludeSymbols: Include symbols (default: true)
          • ExcludeAmbiguous: Exclude ambiguous characters (default: false)
          • Requirements: Object with specific requirements

      Returns Promise<ActionResultSimple>

      Password strength analysis or generated password