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 git;
11pub mod identity;
12pub mod login;
13pub mod port;
14pub mod profile;
15pub mod repo;
16pub mod session;
17pub mod token;
18
19pub use claim::{OwnerSpec, claim_instance, is_claimed};
20pub use config::AppConfig;
21pub use error::{Error, Result};
22pub use git::{GitClientHeaders, GitEndpoint, GitOperation, GitService, serve_git};
23pub use identity::{Identity, describe_identity};
24pub use login::login;
25pub use profile::{PublicProfile, update_profile, view_profile};
26pub use repo::{NewRepo, RepoSummary, RepoView, create_repo, list_repos, view_repo};
27pub use session::{SESSION_LIFETIME, end_session, record_session, resolve_actor, sweep_expired};
28pub use token::{
29 IssuedToken, TokenSummary, authenticate_token, issue_token, list_tokens, revoke_token,
30};