A person can have an array of authentication methods.
To determine necessery the method of patient authentication, we select default auth method. If there is no active default, select the Aus method = OTP, if it is not - select OFFLINE. And if there is no OTP or OFFLINE, select the one that is of the auth method with type = third_person and the last one is added.
If person hasn’t active authentication_method - return NA.
...
View file | ||
---|---|---|
|
...