Scroll to navigation

Authen::U2F::Tester::Role::Response(3pm) User Contributed Perl Documentation Authen::U2F::Tester::Role::Response(3pm)

NAME

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

VERSION

version 0.03

SYNOPSIS

 # This is used by successful tester U2F responses

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.

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>

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.

AUTHOR

Michael Schout <mschout@cpan.org>

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.

2018-04-12 perl v5.26.1