Authen...:Const(3pm)
π Authen::U2F::Tester::Const π
okay so bestie, welcome to Authen::U2F::Tester::Const β the little constants module that the user-contributed Perl docs gang put together, and honestly? it's giving supportive best friend energy. it doesn't do much, but what it does, it slays. π
β¨ NAME β¨
Authen::U2F::Tester::Const β the constants for Authen::U2F::Tester, no cap π
πΈ VERSION πΈ
version 0.03 β yeah she's a lil vintage, but she works π«Ά
π¦ 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";
}
like, you can name-pick your constants one by one with qw(OK DEVICE_INELIGIBLE), or you can just go feral and grab literally all of them with ':all'. main character choice, honestly. π
and then the little example up there? that's the vibe check for a sign() request where the device was never registered β so when $r->error_code comes back matching DEVICE_INELIGIBLE, you die with "this device has not been registered". periodt. π
π DESCRIPTION π
this module hands you the error constants that Authen::U2F::Tester uses. that's the whole job. she's a constants girlie and she's thriving. β¨
π ATTRIBUTES π
π OK
this error code means the response was a success. slay, we love a happy ending. π
π OTHER_ERROR
this one means some other error happened. likeβ¦ an unspecified lil gremlin. not me being vague, that's literally what it is. π
π BAD_REQUEST
this error code means the request cannot be processed. it's giving "nope, not today". π«
π§ CONFIGURATION_UNSUPPORTED
this error code means the client configuration is not supported. your config didn't pass the vibe check, bestie. π
πΈ DEVICE_INELIGIBLE
this error code means the device is not eligible for this request.
and here's the tea, two flavours:
- for a registration request, it may mean the device has already been registered.
- for a signing request, it may mean the device was never registered.
either way, she said no. π
β° TIMEOUT
this error code means a timeout happened while waiting for the request to be satisfied. the clock ran out, the vibe expired, it's over fr fr. π°οΈ
π₯ SOURCE π₯
the development version lives on github at
<http://https://github.com/mschout/perl-authen-u2f-tester>
and you can clone it from
<git://https://github.com/mschout/perl-authen-u2f-tester.git>
go forth and git clone, bestie π«Ά
π BUGS π
please report any bugs or feature requests on the bugtracker website
<https://github.com/mschout/perl-authen-u2f-tester/issues>
when you submit a bug or a request, pls pls pls include a test-file or a patch to an existing test-file that illustrates the bug or the desired feature. no test file = we're all just guessing and guessing is NOT the vibe. π
π AUTHOR π
Michael Schout <mschout@cpan.org> β iconic, we stan π
π 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. free as in freedom, bestie, go wild. π
and that's the whole page!! perl v5.26.2, dated 2018-04-12 β yeah she's from 2018 but the drip is timeless, mwah π β¨ bye bestie!! π¦
π¦ where this page comes from
- ubuntu jammy: libauthen-u2f-tester-perl 0.03-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libauthen-u2f-tester-perl 0.03-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms