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

NAME

Authen::U2F::Tester::Const - Constants for Authen::U2F::Tester

VERSION

version 0.01

SYNOPSIS

 # import constants explicitly by name
 use Authen::U2F::Tester::Const qw(OK DEVICE_INELIGIBLE);

 # import all constants
 use Authen::U2F::Tester::Const ':all';

 # example of a sign() request where the device has not been registered
 my $r = $tester->sign(...);

 if ($r->error_code == DEVICE_INELIGIBLE) {
    die "this device has not been registered";
 }

DESCRIPTION

This module provides error constants that are used by Authen::U2F::Tester.

ATTRIBUTES

OK

This error code indicates a successful response.

OTHER_ERROR

This error indicates some other error happened.

BAD_REQUEST

This error code indicates the request cannot be processed.

CONFIGURATION_UNSUPPORTED

This error code indicates the client configuration is not supported.

DEVICE_INELIGIBLE

This error code indicates that the device is not eligible for this request. For a registration request, this may mean the device has already been registered. For a signing request, this may mean the device was never registered.

TIMEOUT

This error code indicates a timeout occurred waiting for the request to be satisfied.

SOURCE

The development version is on github at https://github.com/mschout/perl-authen-u2f-tester and may be cloned from git://github.com/mschout/perl-authen-u2f-tester.git

BUGS

Please report any bugs or feature requests to bug-authen-u2f-tester@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=Authen-U2F-Tester

AUTHOR

Michael Schout <mschout@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Michael Schout.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.