//! `WebAuthn` passkey registration flow.
//!
//! Exposes the paired [`start_register`]/[`finish_register`] ceremony that
//! enrols a new user's first credential.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.
pub use finish_register;
pub use start_register;
use StatusCode;
use Config;
use crateOAuthHttpError;
// Why: `security.allow_registration` must gate the endpoint itself, not just
// the authorize page's "register" link — this route creates users and is
// mounted publicly.