Sha256: c1ae5dd719705e07d7b3e2342e3bb1bf925b4f6b018c396f0c96940891660386

Contents?: true

Size: 1.42 KB

Versions: 4

Compression:

Stored size: 1.42 KB

Contents

# Plaid::MFA

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **type** | **String** | Possible values are `device`, `selections`, or `questions`.  If value is `device`, the MFA answer is `1234`.  If value is `selections`, the MFA answer is always the first option.  If value is `questions`, the MFA answer is  `answer_<i>_<j>` for the j-th question in the i-th round, starting from 0. For example, the answer to the first question in the second round is `answer_1_0`. |  |
| **question_rounds** | **Float** | Number of rounds of questions. Required if value of `type` is `questions`.  |  |
| **questions_per_round** | **Float** | Number of questions per round. Required if value of `type` is `questions`. If value of type is `selections`, default value is 2. |  |
| **selection_rounds** | **Float** | Number of rounds of selections, used if `type` is `selections`. Defaults to 1. |  |
| **selections_per_question** | **Float** | Number of available answers per question, used if `type` is `selection`. Defaults to 2.  |  |

## Example

```ruby
require 'plaid'

instance = Plaid::MFA.new(
  type: null,
  question_rounds: null,
  questions_per_round: null,
  selection_rounds: null,
  selections_per_question: null
)
```

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plaid-14.0.0.beta.4 docs/MFA.md
plaid-14.0.0.beta.3 docs/MFA.md
plaid-14.0.0.beta.2 docs/MFA.md
plaid-14.0.0.beta.1 docs/MFA.md