<<

NAME

Koha::REST::V1::TwoFactorAuth

API

Methods

send_otp_token

Will send an email with the OTP token needed to complete the second authentication step.

registration

Ask for a registration secret. It will return a QR code image and a secret32.

The secret must be sent back to the server with the pin code for the verification step.

verification

Verify the registration, get the pin code and the secret retrieved from the registration.

The 2FA_ENABLE notice will be generated if the pin code is correct, and the patron will have their two-factor authentication setup completed.

<<