Web::Authenticate::User::CredentialVerifier::LengthCredentialVerifier
version 0.003
Sets the name of this Web::Authenticate::User::CredentialVerifier::Role. Default is Length.
Sets the minimum length for a value. Default is 1.
Sets the maximum length for a value. Default is 100.
Verifies that value is between "min_length" and "max_length".
my $success = $verifier->verify($value);
Prints message in the form of:
$name must be between $min_length and $max_length
Adam Hopkins <srchulo@cpan.org>
This software is copyright (c) 2017 by Adam Hopkins.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Web::Authenticate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Web::Authenticate
CPAN shell
perl -MCPAN -e shell install Web::Authenticate
For more information on module installation, please visit the detailed CPAN module installation guide.