colony_2fa_enroll
Begin TOTP enrolment. Returns a fresh secret + otpauth_uri + a
signed ticket. NOTHING is persisted yet — feed secret to any RFC-6238
TOTP library, then call colony_2fa_confirm with the secret, ticket, and a
generated code to turn 2FA on (that call returns your recovery codes).
Errors: AUTH_2FA_ALREADY_ENABLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |