Sha256: bef701b88f6a2be1133202233368cb36c8aa8e3a79406d535707f007560a0cb4

Contents?: true

Size: 937 Bytes

Versions: 16

Compression:

Stored size: 937 Bytes

Contents

# Bandwidth::VerifyCodeRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **to** | **String** | The phone number to send the mfa code to. |  |
| **scope** | **String** | An optional field to denote what scope or action the mfa code is addressing.  If not supplied, defaults to \"2FA\". | [optional] |
| **expiration_time_in_minutes** | **Float** | The time period, in minutes, to validate the mfa code.  By setting this to 3 minutes, it will mean any code generated within the last 3 minutes are still valid.  The valid range for expiration time is between 0 and 15 minutes, exclusively and inclusively, respectively. |  |
| **code** | **String** | The generated mfa code to check if valid. |  |

## Example

```ruby
require 'bandwidth-sdk'

instance = Bandwidth::VerifyCodeRequest.new(
  to: +19195551234,
  scope: 2FA,
  expiration_time_in_minutes: 3,
  code: 123456
)
```

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
bandwidth-sdk-13.1.2 docs/VerifyCodeRequest.md
bandwidth-sdk-13.1.1 docs/VerifyCodeRequest.md
bandwidth-sdk-13.1.0 docs/VerifyCodeRequest.md
bandwidth-sdk-13.0.0 docs/VerifyCodeRequest.md
bandwidth-sdk-12.1.0 docs/VerifyCodeRequest.md
bandwidth-sdk-11.3.0 docs/VerifyCodeRequest.md
bandwidth-sdk-11.2.0 docs/VerifyCodeRequest.md
bandwidth-sdk-11.1.1 docs/VerifyCodeRequest.md
bandwidth-sdk-11.1.0 docs/VerifyCodeRequest.md
bandwidth-sdk-11.0.0 docs/VerifyCodeRequest.md
bandwidth-sdk-11.0.0.pre.beta.4.0 docs/VerifyCodeRequest.md
bandwidth-sdk-11.0.0.pre.beta.3.1 docs/VerifyCodeRequest.md
bandwidth-sdk-11.0.0.pre.beta.3.0 docs/VerifyCodeRequest.md
bandwidth-sdk-11.0.0.pre.beta.2.0 docs/VerifyCodeRequest.md
bandwidth-sdk-11.0.0.pre.beta.1.1 docs/VerifyCodeRequest.md
bandwidth-sdk-11.0.0.pre.beta.1 docs/VerifyCodeRequest.md