DHIS2 Android SDK
Toggle table of contents
1.15.0
release
Target filter
release
Switch theme
Search in API
Skip to content
DHIS2 Android SDK
DHIS2 Android SDK
/
org.hisp.dhis.android.core.user
/
TwoFactorAuthManager
Two
Factor
Auth
Manager
interface
TwoFactorAuthManager
Members
Functions
can
Totp2fa
Be
Enabled
Link copied to clipboard
abstract
suspend
fun
canTotp2faBeEnabled
(
)
:
Result
<
Boolean
,
D2Error
>
disable2fa
Link copied to clipboard
abstract
suspend
fun
disable2fa
(
code
:
String
)
:
Result
<
HttpMessageResponse
,
D2Error
>
enable2fa
Link copied to clipboard
abstract
suspend
fun
enable2fa
(
code
:
String
)
:
Result
<
HttpMessageResponse
,
D2Error
>
get
Totp
Secret
Link copied to clipboard
abstract
suspend
fun
getTotpSecret
(
)
:
String
is2fa
Enabled
Link copied to clipboard
abstract
suspend
fun
is2faEnabled
(
)
:
Boolean