Skip to main content

typesec_integrations/
lib.rs

1//! Provider integrations for using Typesec behind external identity systems.
2//!
3//! This crate keeps external identity and authorization services at the edge of
4//! the system while preserving the core Typesec invariant: provider decisions
5//! become typed capabilities only through [`typesec_core::mint_capability`].
6
7#![forbid(unsafe_code)]
8#![warn(missing_docs, clippy::all)]
9
10pub mod arcade;
11pub mod did;
12pub mod http;
13pub mod jwt;
14mod provider;
15pub mod pydantic_ai;
16pub mod workos;
17
18pub use arcade::{ArcadeToolAuthEngine, ArcadeToolAuthRequest};
19pub use did::{
20    A2aTypeDidAdapter, AcpTypeDidAdapter, BandSecureEnvelopeAdapter, Did, DidDocument, DidEnvelope,
21    DidError, DidKeyStore, DidMessageBody, DidMessageGateway, DidMessageReference, DidOllamaClient,
22    DidReplyBinding, DidResolver, DidService, Ed25519DidKey, Ed25519DidKeyStore,
23    HttpTypeDidAdapter, SecureEnvelopeAdapter, StaticDidResolver, StaticTypeDidProfileResolver,
24    TypeDidAttestation, TypeDidConversation, TypeDidGateway, TypeDidMode, TypeDidProfile,
25    TypeDidProfileResolver, TypeDidWrapRequest, VerificationMethod, VerifiedDidPrompt,
26    VerifiedTypeDidMessage,
27};
28#[cfg(feature = "demo-crypto")]
29pub use did::{DemoDidKeyPair, DemoDidKeyStore};
30pub use http::{HttpClient, ReqwestHttpClient};
31pub use jwt::{JwtAuthenticator, JwtClaims, JwtClaimsEngine, OidcConfig, VerifiedSubject};
32pub use pydantic_ai::{PydanticAiCapability, PydanticAiToolCapability};
33pub use workos::{WorkOsFgaEngine, WorkOsFgaRequest, WorkOsResource};