2fa
« Previous section Next section »
UCloud Developer Guide / Core / Users / 2FA
2FA
UCloud supports 2FA for all users using a TOTP backend.
Rationale
UCloud, for the most part, relies on the user's organization to enforce best practices. UCloud can be configured to require additional factors of authentication via WAYF. On top of this UCloud allows you to optionally add TOTP based two-factor authentication.
https://cloud.sdu.dk uses this by enforcing 2FA of all users authenticated via the password
backend.
Table of Contents
Example: Creating 2FA credentials
Frequency of use | Common |
---|---|
Actors |
|
Remote Procedure Calls
answerChallenge
answerChallenge
Answers a challenge previously issued by createCredentials
Request | Response | Error |
---|---|---|
createCredentials
createCredentials
Creates initial 2FA credentials and bootstraps a challenge for those credentials
Request | Response | Error |
---|---|---|
twoFactorStatus
twoFactorStatus
Retrieves the 2FA status of the currently authenticated user
Request | Response | Error |
---|---|---|
Data Models
AnswerChallengeRequest
AnswerChallengeRequest
Create2FACredentialsResponse
Create2FACredentialsResponse
TwoFactorStatusResponse
TwoFactorStatusResponse
Last updated