Files
expenses/server/src/routes/auth_passkey.rs
T
2026-10-12 13:05:38 +02:00

22 lines
512 B
Rust

use axum::routing::post;
use crate::{error::AppError, state::AppState};
pub fn create_router() -> axum::Router<AppState> {
axum::Router::new()
.route("/options", post(get_challenge_options))
.route("/verify", post(verify_challenge_response))
}
#[axum::debug_handler]
#[tracing::instrument()]
async fn get_challenge_options() -> Result<(), AppError> {
Ok(())
}
#[axum::debug_handler]
#[tracing::instrument()]
async fn verify_challenge_response() -> Result<(), AppError> {
Ok(())
}