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    TypeDidAttestation, TypeDidConversation, TypeDidGateway, TypeDidMode, TypeDidProfile,
23    TypeDidProfileResolver, TypeDidWrapRequest, VerificationMethod, VerifiedDidPrompt,
24    VerifiedTypeDidMessage,
25};
26#[cfg(feature = "demo-crypto")]
27pub use did::{DemoDidKeyPair, DemoDidKeyStore};
28pub use http::{HttpClient, ReqwestHttpClient};
29pub use jwt::{JwtAuthenticator, JwtClaims, JwtClaimsEngine, OidcConfig, VerifiedSubject};
30pub use workos::{WorkOsFgaEngine, WorkOsFgaRequest, WorkOsResource};