steid

@jamesgill /

1//! The application layer: use cases and the ports they depend on.
2//!
3//! Every use case takes an actor or a credential plus the ports it needs, and enforces
4//! the rules before any side effect. Nothing here knows about HTTP or Topcoat.
5
6pub(crate) mod authz;
7pub mod claim;
8pub mod config;
9pub mod error;
10pub mod identity;
11pub mod login;
12pub mod port;
13pub mod profile;
14pub mod repo;
15pub mod session;
16
17pub use claim::{OwnerSpec, claim_instance, is_claimed};
18pub use config::AppConfig;
19pub use error::{Error, Result};
20pub use identity::{Identity, describe_identity};
21pub use login::login;
22pub use profile::{PublicProfile, update_profile, view_profile};
23pub use repo::{NewRepo, create_repo};
24pub use session::{SESSION_LIFETIME, end_session, record_session, resolve_actor, sweep_expired};