less than a minute
Enroll OTP > error
Enroll OTP > message
Enroll OTP > otp_secret
Enroll OTP > otp_url
Title: Enroll OTP
Type | object |
Required | No |
Additional properties | Not allowed |
Description: Enroll a user in One-Time Password (OTP) authentication.
Example:
{
"error": "Invalid credentials",
"message": "Logout successful",
"otp_secret": "JBSWY3DPEHPK3PXP",
"otp_url": "otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example"
}
Property | Pattern | Type | Deprecated | Definition | Title/Description |
---|---|---|---|---|---|
- error | No | string | No | - | Error |
- message | No | string | No | - | Message |
- otp_secret | No | string | No | - | OTP Secret |
- otp_url | No | string | No | - | OTP URL |
Enroll OTP > error
Title: Error
Type | string |
Required | No |
Description: Human-readable message to be displayed about an error that occurred
Example:
"Invalid credentials"
Enroll OTP > message
Title: Message
Type | string |
Required | No |
Description: Human-readable message to display to the user. It being present is not indicative of an error
Example:
"Logout successful"
Enroll OTP > otp_secret
Title: OTP Secret
Type | string |
Required | No |
Description: Secret for the OTP authenticator app
Enroll OTP > otp_url
Title: OTP URL
Type | string |
Required | No |
Description: URL to configure the OTP authenticator app