1Authen::U2F::Tester::CoUnssetr(3C)ontributed Perl DocumeAnuttahteino:n:U2F::Tester::Const(3)
2
3
4

NAME

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

VERSION

9       version 0.03
10

SYNOPSIS

12        # import constants explicitly by name
13        use Authen::U2F::Tester::Const qw(OK DEVICE_INELIGIBLE);
14
15        # import all constants
16        use Authen::U2F::Tester::Const ':all';
17
18        # example of a sign() request where the device has not been registered
19        my $r = $tester->sign(...);
20
21        if ($r->error_code == DEVICE_INELIGIBLE) {
22           die "this device has not been registered";
23        }
24

DESCRIPTION

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

ATTRIBUTES

30   OK
31       This error code indicates a successful response.
32
33   OTHER_ERROR
34       This error indicates some other error happened.
35
36   BAD_REQUEST
37       This error code indicates the request cannot be processed.
38
39   CONFIGURATION_UNSUPPORTED
40       This error code indicates the client configuration is not supported.
41
42   DEVICE_INELIGIBLE
43       This error code indicates that the device is not eligible for this
44       request.  For a registration request, this may mean the device has
45       already been registered.  For a signing request, this may mean the
46       device was never registered.
47
48   TIMEOUT
49       This error code indicates a timeout occurred waiting for the request to
50       be satisfied.
51

SOURCE

53       The development version is on github at
54       <http://https://github.com/mschout/perl-authen-u2f-tester> and may be
55       cloned from
56       <git://https://github.com/mschout/perl-authen-u2f-tester.git>
57

BUGS

59       Please report any bugs or feature requests on the bugtracker website
60       <https://github.com/mschout/perl-authen-u2f-tester/issues>
61
62       When submitting a bug or request, please include a test-file or a patch
63       to an existing test-file that illustrates the bug or desired feature.
64

AUTHOR

66       Michael Schout <mschout@cpan.org>
67
69       This software is copyright (c) 2017 by Michael Schout.
70
71       This is free software; you can redistribute it and/or modify it under
72       the same terms as the Perl 5 programming language system itself.
73
74
75
76perl v5.38.0                      2023-10-25     Authen::U2F::Tester::Const(3)
Impressum