Authen...esponse(3pm)

πŸ’– Authen::U2F::Tester::RegisterResponse β€” the vibe check ✨

okay bestie, pull up a chair, because this is Authen::U2F::Tester::RegisterResponse from the Perl world (that's a 3pm page, so it's a module doc, iykyk) 🫢

It's the little class that holds a successful response to a registration request. That's it. That's the whole job. And it does it gorgeously πŸ’…


✨ VERSION ✨

version 0.03 β€” yes she's an early-release icon, we love a debut era πŸŽ€


🌸 SYNOPSIS 🌸

here's the group-chat screenshot of how you'd actually use her:

use Authen::U2F::Tester;

my $tester = Authen::U2F::Tester->new(...);

my $res = $tester->register(...);

print $res->client_data;
print $res->registration_data;

# print the binary response in hex format
print unpack 'H*', $res->response;

like, you make a $tester, you call register, you get a $res, and then you print stuff off it. lowkey elegant. no cap. πŸ’œ


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: this class represents a successful response to a registration request. one sentence, zero filler, main character energy. periodt. πŸ‘‘


πŸŽ€ METHODS πŸŽ€

registration_data(): string

this one grabs the registration data from the tester's register request, and it comes at you in Base64 URL encoding. that's the whole method. short queen, she ate πŸ”₯


🌈 SEE ALSO 🌈

  • Authen::U2F::Tester::Role::Response β€” the role doing the heavy lifting behind the scenes πŸ’–
  • Authen::U2F::Tester β€” the parent tester, your actual entry point ✨

🧚 SOURCE 🧚

the development version lives on github, bestie, right here:

and you can clone it from:

(yes, those URLs are written exactly like that in the original β€” don't come for me, I'm just the messenger πŸ™ˆ)


πŸ’€ BUGS πŸ’€

found a bug? want a feature? please report it on the bugtracker website:

<https://github.com/mschout/perl-authen-u2f-tester/issues>

and listen β€” when you submit a bug or a request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. that's the rule. bring receipts or don't bring anything at all 😀

πŸ‘‘ AUTHOR πŸ‘‘

Michael Schout <mschout@cpan.org> β€” thank you for your service, king πŸ«‘πŸ’œ


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. so like, go off, remix it, slay responsibly ⭐


and that's the whole page, babe β€” this was perl v5.26.2, dated 2018-04-12, and it's still serving looks. mwah πŸ’–βœ¨

πŸ“¦ where this page comes from