The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Web::Authenticate::User::CredentialVerifier::LengthCredentialVerifier

VERSION

version 0.003

METHODS

name

Sets the name of this Web::Authenticate::User::CredentialVerifier::Role. Default is Length.

min_length

Sets the minimum length for a value. Default is 1.

max_length

Sets the maximum length for a value. Default is 100.

verify

Verifies that value is between "min_length" and "max_length".

    my $success = $verifier->verify($value);

error_msg

Prints message in the form of:

    $name must be between $min_length and $max_length   

AUTHOR

Adam Hopkins <srchulo@cpan.org>

COPYRIGHT AND LICENSE

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.