feat(rpc): add the signed subject-context token

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-05 14:12:42 +05:30
co-authored by Claude Opus 5
parent 40625e98ed
commit 2257ee871e
3 changed files with 230 additions and 0 deletions
+8
View File
@@ -22,3 +22,11 @@ export { RPC_ERROR_CODES, ServiceError, failure, isRetryableStatus, success } fr
export type { RpcErrorCode, ToResultOptions } from "./errors.ts";
export { defineService, procedure, ProcedureBuilder } from "./contract.ts";
export {
RPC_IDENTITY_HEADER,
exportSubjectContext,
importSubjectContext,
rpcSecret,
} from "./identity.ts";
export type { ExportOptions, SubjectContext } from "./identity.ts";