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;
14pub mod workos;
15
16pub use arcade::{ArcadeToolAuthEngine, ArcadeToolAuthRequest};
17pub use did::{
18    A2aTypeDidAdapter, AcpTypeDidAdapter, BandSecureEnvelopeAdapter, Did, DidDocument, DidEnvelope,
19    DidError, DidKeyStore, DidMessageBody, DidMessageGateway, DidMessageReference, DidOllamaClient,
20    DidReplyBinding, DidResolver, DidService, Ed25519DidKey, Ed25519DidKeyStore,
21    HttpTypeDidAdapter, SecureEnvelopeAdapter, StaticDidResolver, StaticTypeDidProfileResolver,
22    TypeDidConversation, TypeDidGateway, TypeDidMode, TypeDidProfile, TypeDidProfileResolver,
23    TypeDidWrapRequest, VerificationMethod, VerifiedDidPrompt, VerifiedTypeDidMessage,
24};
25#[cfg(feature = "demo-crypto")]
26pub use did::{DemoDidKeyPair, DemoDidKeyStore};
27pub use http::{HttpClient, ReqwestHttpClient};
28pub use jwt::{JwtAuthenticator, JwtClaims, JwtClaimsEngine, OidcConfig, VerifiedSubject};
29pub use workos::{WorkOsFgaEngine, WorkOsFgaRequest, WorkOsResource};