# passCheck *[Protected]* Evaluates a candidate password generated by the CSPRNG loop to verify that it complies with all active configuration rules. ## Usage ``` passCheck(string $pw = ''): bool ``` ## Parameters **pw** (string) : The candidate password string to evaluate. ## Return Value (bool) : Returns `true` if the password contains at least one character from every enabled configuration class. : Returns `false` if any required character class is missing. ## Examples ``` $sec->passCheck('p@sSw0rd123!') = true ``` ## Config Options | Config Key | Default Value | Allowed Values | Description | | --- | --- | --- | --- | | numbers | true | *bool* | Allow numbers in password generation. | | symbols | true | *bool* | Allow symbols in password generation. (`!@#$%^*+-=_.,?:;()`) | | uppercase | true | *bool* | Allow uppercase letters in password generation. | ## Debug Errors - Throws an exception if any active character category is completely wiped out by the exclusion list. --- [Home](../Home.md) | [CoreySecurity](../CoreySecurity.md) | [Inspectors](../CoreySecurity.md#inspectors)