logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Authen::U2F::Tester::RegisterResponse - U2F Tester Registration Response

Author

       Michael Schout <mschout@cpan.org>

Bugs

       Please    report    any    bugs     or     feature     requests     on     the     bugtracker     website
       <https://github.com/mschout/perl-authen-u2f-tester/issues>

       When  submitting  a  bug  or request, please include a test-file or a patch to an existing test-file that
       illustrates the bug or desired feature.

Description

       This class represents a successful response to a registration request.

Methods

registration_data():string
       Get the registration data from the tester's register request, in Base64 URL encoding.

Name

       Authen::U2F::Tester::RegisterResponse - U2F Tester Registration Response

See Also

       •   Authen::U2F::Tester::Role::Response

       •   Authen::U2F::Tester

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>

Synopsis

        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;

Version

       version 0.03

See Also