Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose

This page determination logic for calculation current authentication method (in the declaration creation process) with considering input parameters:

  • New or Existing MPI
  • Current authentication method (from MPI)
  • Requested authentication method (from Declaration_request)

Determination rules 

MPICurrent methodRequested methodResult (return as
CURRENT_METHOD)
New<NULL>OFFLINEOFFLINE
<NULL>OTPNA
ExistingOTPOFFLINEerror("Person cannot set OFFLINE auth method if he had OTP")
OTPOTPOTP
OFFLINEOTPOFFLINE
OFFLINEOFFLINEOFFLINE
NAOTPOTP
NAOFFLINEOFFLINE

...