Authen::U2F::Tester::Const3pm
Constants for authen::u2f::tester
Usage
# import constants explicitly by nameuse Authen::U2F::Tester::Const qw(OK DEVICE_INELIGIBLE);# import all constantsuse Authen::U2F::Tester::Const ':all';# example of a sign() request where the device has not been registeredmy $r = $tester->sign(...);if ($r->error_code == DEVICE_INELIGIBLE) {die "this device has not been registered";}
Version
version 0.03
Overview
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 <http://https://github.com/mschout/perl-authen-u2f-tester> and may be cloned from <git://https://github.com/mschout/perl-authen-u2f-tester.git>
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.
Releases
Unchanged in 4 releases since Debian 10 (Buster).