ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This method allows to find all the active authentication methods of the person.

Specification

Apiary

Validate request

Validateperson_id in request:

  • validate person.id is UUID

    • in case error return 422

  • search person by person.id in MPI 

    • in case error return 422, "such person doesn't exist"

Authorize

  • Verify the validity of access token

  • Check user scope person:read in order to perform this action

Search person’s authentication methods

Search ACTIVE (ended_at > now) person auth methods using person_id in mpi.person_authentiocation_methods

If person has auth_method.type = third_person, then show only the default auth method of this third person

  • No labels