File: MfaConfigureTotpMethodRequest.md

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (34 lines) | stat: -rw-r--r-- 1,546 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# OpenbaoClient::MfaConfigureTotpMethodRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **algorithm** | **String** | The hashing algorithm used to generate the TOTP token. Options include SHA1, SHA256 and SHA512. | [optional][default to 'SHA1'] |
| **digits** | **Integer** | The number of digits in the generated TOTP token. This value can either be 6 or 8. | [optional][default to 6] |
| **issuer** | **String** | The name of the key's issuing organization. | [optional] |
| **key_size** | **Integer** | Determines the size in bytes of the generated key. | [optional][default to 20] |
| **max_validation_attempts** | **Integer** | Max number of allowed validation attempts. | [optional] |
| **method_name** | **String** | The unique name identifier for this MFA method. | [optional] |
| **period** | **Integer** | The length of time used to generate a counter for the TOTP token calculation. | [optional][default to 30] |
| **qr_size** | **Integer** | The pixel size of the generated square QR code. | [optional][default to 200] |
| **skew** | **Integer** | The number of delay periods that are allowed when validating a TOTP token. This value can either be 0 or 1. | [optional][default to 1] |

## Example

```ruby
require 'openbao_client'

instance = OpenbaoClient::MfaConfigureTotpMethodRequest.new(
  algorithm: null,
  digits: null,
  issuer: null,
  key_size: null,
  max_validation_attempts: null,
  method_name: null,
  period: null,
  qr_size: null,
  skew: null
)
```