---
name: "Authen::U2F::Tester::Role::Response"
section: "3pm"
platform: "linux"
package: "libauthen-u2f-tester-perl"
version: "0.03-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Authen::U2F::Tester::Role::Response"
---

# Authen::U2F::Tester::Role::Response(3pm)

U2F Successful Response Role

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