Skip to main content

list_otps

Function list_otps 

Source
pub async fn list_otps(
    _admin: AdminAuth,
    __arg1: State<Arc<AppState>>,
) -> Response
Expand description

GET /admin/otp — List active OTPs.

Returns all non-expired, non-fully-consumed OTPs. The actual OTP token values are NOT included (they are one-time secrets shown only at generation time).