This section describes how authenticators receive and respond to requests from RPs. This also reflects what is implemented in the .The authenticator receives a request from an RP in the following format.
When using the any constraint, the order of credential types in the array determines priority order. The authenticator will attempt to provide the first available credential type in the list. If that credential is not available, it will fall back to the next type in the array, and so on.
Priority ordering only applies to any constraints. For all constraints,
all specified credential types must be provided regardless of order.
Example:
Copy
Ask AI
{ "constraints": { "any": ["poh", "passport"] }}
In this case:
If the user has an PoH credential, the authenticator will provide it.
If the user does not have an PoH credential but has a passport credential, the authenticator will provide the passport instead.
The PoH credential type has priority over passport.
This priority mechanism allows RPs to request their preferred credential type while still accepting fallback options if the preferred type is unavailable.