/** * UserInfo Endpoint — GET /oauth/userinfo * * Who calls: a client holding a FrontMCP-issued access token. * * When: after obtaining an access token via /oauth/token, to resolve the * authenticated user's claims (OIDC userinfo-style). * * Purpose: verify the Bearer token's HS256 signature + lifetime via the * auth instance's {@link LocalPrimaryAuth.verifyGatewayToken} and return the * user claims (`sub`, plus `email`/`name`/`picture` when present) as JSON. * Returns 401 when the Authorization header is missing or the token fails * verification. * * This endpoint backs the `userinfo_endpoint` advertised by the * oauth-authorization-server discovery document in orchestrated/local mode. */ import 'reflect-metadata'; import { FlowBase, type FlowRunOptions } from '../../common'; declare const inputSchema: import("@frontmcp/lazy-zod").ZodObject<{ request: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>; response: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>; next: import("@frontmcp/lazy-zod").ZodOptional>; }, import("zod/v4/core").$strip>; declare const stateSchema: import("@frontmcp/lazy-zod").ZodObject<{ token: import("@frontmcp/lazy-zod").ZodOptional; baseUrl: import("@frontmcp/lazy-zod").ZodString; }, import("zod/v4/core").$strip>; declare const outputSchema: import("@frontmcp/lazy-zod").ZodObject<{ kind: import("@frontmcp/lazy-zod").ZodLiteral<"json">; status: import("@frontmcp/lazy-zod").ZodNumber; body: import("@frontmcp/lazy-zod").ZodUnion, import("@frontmcp/lazy-zod").ZodArray, import("@frontmcp/lazy-zod").ZodRecord]>; contentType: import("@frontmcp/lazy-zod").ZodDefault; headers: import("@frontmcp/lazy-zod").ZodOptional]>]>>>>; cookies: import("@frontmcp/lazy-zod").ZodOptional; domain: import("@frontmcp/lazy-zod").ZodOptional; httpOnly: import("@frontmcp/lazy-zod").ZodDefault; secure: import("@frontmcp/lazy-zod").ZodOptional; sameSite: import("@frontmcp/lazy-zod").ZodOptional>; maxAge: import("@frontmcp/lazy-zod").ZodOptional; expires: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>>>>; }, import("zod/v4/core").$strip>; declare const plan: { readonly pre: ["parseInput"]; readonly execute: ["verifyAndRespond"]; }; declare global { interface ExtendFlows { 'oauth:userinfo': FlowRunOptions; } } declare const name: "oauth:userinfo"; export default class OauthUserInfoFlow extends FlowBase { private logger; parseInput(): Promise; verifyAndRespond(): Promise; } export {}; //# sourceMappingURL=oauth.userinfo.flow.d.ts.map