pub fn evaluate_atproto_eligibility(
pubkeys: &[PubkeyEntry],
profile: Option<&UserProfile>,
issuer_url: &str,
) -> Result<String, SubjectDidError>Expand description
Evaluate atproto account eligibility from the account’s stored keys and profile (#1113 r5 / #1124 split). Free-function form so it is unit-testable without constructing an OAuthState or UserStore.
- at9p-backed account (any key with
HybridEd25519MlDsa65) → reject. - account with a mapped
atproto_didon its profile → validate and return. - account without a mapping →
NoAtprotoIdentity(fail closed, #1124).