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::Role::Response - U2F Successful Response Role

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 is a role used by successful Authen::U2F::Tester responses.  Successful responses consume this role.

Methods

response():scalar
       Get the raw U2F register response.  This is a binary string representing a successful registration
       response.  See The FIDO Specification <https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-
       raw-message-formats-v1.2-ps-20170411.html#registration-response-message-success> for the details on the
       contents of this string.

   error_code():int
       Get the error code

   client_data()
       Get the client data from the request, in Base64 URL format.

   is_success():bool
       Returns true if the response was successful, false otherwise.

Name

       Authen::U2F::Tester::Role::Response - U2F Successful Response Role

See Also

       •   Authen::U2F::Tester::RegisterResponse

       •   Authen::U2F::Tester::SignResponse

       •   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

        # This is used by successful tester U2F responses

Version

       version 0.03

See Also