<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@digitalpersona/core](./core.md) &gt; [Answer](./core.answer.md)

## Answer class

An answer to a security question.

<b>Signature:</b>

```typescript
export declare class Answer 
```

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(question, text)](./core.answer.(constructor).md) |  | Creates an answer to a security question. |

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [number](./core.answer.number.md) |  | <code>QuestionNumber</code> | An index of a question in a question list. |
|  [text](./core.answer.text.md) |  | <code>string</code> | A text of the answer. Must be given in correponding [keyboard layout](./core.question.keyboard_layout.md)<!-- -->. |
|  [version](./core.answer.version.md) |  | <code>1</code> | Version info. |

