TypeAlias.VerifyDidWebConfigResponse
type VerifyDidWebConfigResponse =
| {
domain: string;
fetchedAt: string;
status: "ok";
}
| {
detail?: string | null;
domain: string;
fetchedAt: string;
reason: | "unreachable"
| "tls_invalid"
| "timeout"
| "http_error"
| "redirect_not_allowed"
| "not_json"
| "invalid_did_document"
| "key_mismatch"
| "missing_assertion_method"
| "blocked_address";
status: "failed";
};
Discriminated result of POST /v1/dpp/certification-key/did-web-config/verify.
Always returned with HTTP 200; status: 'failed' carries a reason matching
a VerifyDidWebFailureReason value for actionable UI messaging.