Purpose
This method allows to find all the active authentication methods of the person (data is taken from person_authnetication_method by person_id)
Specification
Logic
API paragraph not found
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
id | String | Required | 030d5c41-a945-41ac-89d1-b7c6d1c226c7 |
Request structure
API paragraph not found
Authorize
Verify the validity of access token
Check user scope person:read in order to perform this action
Headers
Наприклад:
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
api-key:uXhEczJ56adsfh3Ri9SUkc4en
Request data validation
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"
Processing
Search person’s authentication methods
Search ACTIVE (ended_at > now) person auth methods using person_id in mpi.person_authentiocation_methods.
Don’t show info if auth_method.type = NA or auth_method.type = THIRD_PERSON and this THIRD_PERSON hasn't active auth method (type != NA and (ended_at > now or ended_at is NULL))
Response structure
Example:
Post-processing processes
API paragraph not found