Back to catalog
identity

Authenticate

Authenticates a user according to a configurable rule: single-factor (one method) or multi-factor (several combined methods). Available methods: login / password, SMS OTP, and silent mobile-network verification (operator silent auth). SIFIP orchestrates the factors and returns an authentication decision with the reached assurance level.

Simulate an API call
Parameters
NameTypeRequiredDescription
user_idstringrequiredIdentifiant de l'utilisateur à authentifier
modeenumrequiredsingle_factor | multi_factor
methodsstring[]requiredpassword | sms_otp | mobile_network
credentials.passwordstringoptionalRequis si la méthode password est utilisée
msisdnE.164optionalRequis pour sms_otp et mobile_network
otpstringoptionalCode reçu par SMS (étape de vérification)
callback_urlURLoptionalWebhook de fin de session
Sample response
{
  "session_id": "auth_9f2c1a7b",
  "decision": "AUTHENTICATED",
  "mode": "multi_factor",
  "assurance_level": "aal2",
  "user_id": "user-12345",
  "factors": [
    {
      "method": "password",
      "status": "passed"
    },
    {
      "method": "sms_otp",
      "status": "passed"
    },
    {
      "method": "mobile_network",
      "status": "passed",
      "detail": "Ligne active, non SIM-swappée"
    }
  ]
}