export type ShopifyOidcConfiguration = { issuer: string; authorizationEndpoint: string; tokenEndpoint: string; endSessionEndpoint?: string; jwksUri: string; }; export type VerifiedShopifyIdentity = { /** The id_token `iss` claim — use verbatim as the Fanfare issuer. */ issuer: string; /** The id_token `sub` claim — opaque, stable per customer; use verbatim as the Fanfare subject. */ subject: string; email?: string; emailVerified?: boolean; /** All verified id_token payload claims, for callers that need more. */ claims: Record; }; export type ExternalAuthorizeResult = { exchangeCode: string; expiresAt: string; resolution: "created" | "existing" | "linked"; };