GetTfaSecretAsQrCodeImage

Returns (Task<byte[]>)

Generate a QR image for a password.

Name Description
currentPassword

Get Tfa Secret As Qr Code Image

Example in C#

// Returns: Byte
var item = await client.GetTfaSecretAsQrCodeImage(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":2
                   }'