tayvo_rocket_authifier 1.0.15

rocket.rs implementation of authifier
Documentation
use tayvo_rocket_okapi::tayvo_okapi::openapi3::OpenApi;
use rocket::Route;

pub mod create_ticket;
pub mod fetch_recovery;
pub mod fetch_status;
pub mod generate_recovery;
pub mod get_mfa_methods;
pub mod totp_disable;
pub mod totp_enable;
pub mod totp_generate_secret;

pub fn routes() -> (Vec<Route>, OpenApi) {
    openapi_get_routes_spec![
        create_ticket::create_ticket,
        fetch_status::fetch_status,
        fetch_recovery::fetch_recovery,
        generate_recovery::generate_recovery,
        get_mfa_methods::get_mfa_methods,
        totp_disable::totp_disable,
        totp_enable::totp_enable,
        totp_generate_secret::totp_generate_secret,
    ]
}