Jump to…
snowinitial commitqoxwzsukwmkx1mo
Matt W1//! `df-auth` — authentication and authorization.
Matt W2//!
Matt W3//! Humans authenticate through OIDC against Ory Hydra. Machines authenticate
Matt W4//! with personal access tokens (HTTP) or SSH public keys, because Git clients
Matt W5//! cannot perform a browser flow (spec §6).
Matt W6
Matt W7pub mod csrf;
Matt W8pub mod oidc;
Matt W9pub mod permissions;
Matt W10pub mod provisioning;
Matt W11pub mod session;
Matt W12pub mod ssh_keys;
Matt W13pub mod tokens;
Matt W14
Matt W15pub use oidc::{safe_redirect, Identity, Oidc};
Matt W16pub use permissions::{resolve, AccessInputs, RepoAccess, Viewer};
Matt W17pub use provisioning::Denied;

17 lines · Rust