The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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 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

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.