EnableTfaAsync

Returns (Task)

Turn on two factor authentication.

Name Description
currentPassword

Enable Tfa Async

Example in C#

// Returns: nothing
await client.EnableTfaAsync(String currentPassword);

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/currentuser/tfa \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.TfaRequest, Feenics.Keep.WebApi.Model",
                       "CurrentPassword":"CURRENT_PASSWORD_HERE",
                       "OneTimePassword":null,
                       "Action":0
                   }'