import type { CreateRequireServiceAuthOptions, ServiceAuthPorts } from '@sentropic/mcp-auth/hono'; import type { CallerAuthRequestContext } from '../ports/caller-auth.js'; import type { CallerAuthScheme, VerifiedPrincipal, VerifyToken } from '../personal-passthrough/caller-auth.js'; export type ServiceAuthCallerIdentity = { readonly kind: 'service'; readonly issuer: string; readonly resource: string; readonly clientId: string; readonly scopes: readonly string[]; readonly jkt: string | null; }; export interface ServiceAuthVerifyTokenOptions { readonly auth: CreateRequireServiceAuthOptions & { readonly ports: ServiceAuthPorts & { readonly dpopReplay: NonNullable; }; }; readonly resolvePrincipal: (identity: ServiceAuthCallerIdentity) => Promise | VerifiedPrincipal | undefined; } export declare class ServiceAuthVerifyToken implements VerifyToken { private readonly options; constructor(options: ServiceAuthVerifyTokenOptions); verify(token: string, scheme: CallerAuthScheme, headers: Readonly>, context: CallerAuthRequestContext): Promise; } //# sourceMappingURL=service-auth.d.ts.map