Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
//! Outbound authorization adapters.
/// JWT validation backed by the shared `macro_auth` implementation.
#[cfg(feature = "outbound")]
pub mod macro_auth;
/// JWT validation adapter for internal-only services.
#[cfg(feature = "outbound")]
pub mod noop;
/// PostgreSQL facts for bot authorization.
#[cfg(feature = "postgres")]
pub mod pg_bot_authorization;
/// PostgreSQL facts for harness authorization.
#[cfg(feature = "postgres")]
pub mod pg_harness_authorization;
/// PostgreSQL facts for user API key authorization.
#[cfg(feature = "postgres")]
pub mod pg_user_api_key_authorization;
/// JWT validator backed by the shared `macro_auth` implementation.
#[cfg(feature = "outbound")]
pub use macro_auth::MacroAuthJwtValidator;
/// JWT validator for services that only support internal authorization.
#[cfg(feature = "outbound")]
pub use noop::NoopMacroAuthJwtValidator;
/// PostgreSQL bot authorization repository and concrete authorizer.
#[cfg(feature = "postgres")]
pub use pg_bot_authorization::{PgBotAuthorizationRepo, PgBotAuthorizer};
/// PostgreSQL harness authorization repository and concrete authorizer.
#[cfg(feature = "postgres")]
pub use pg_harness_authorization::{PgHarnessAuthorizationRepo, PgHarnessAuthorizer};
/// PostgreSQL user API key authorization repository and concrete authorizer.
#[cfg(feature = "postgres")]
pub use pg_user_api_key_authorization::{PgUserApiKeyAuthorizationRepo, PgUserApiKeyAuthorizer};