Skip to main content

get_my_certificates

Function get_my_certificates 

Source
async fn get_my_certificates(
    user: AuthUser,
    pool: Data<PgPool>,
) -> ControllerResult<Json<Vec<UserCertificate>>>
Expand description

GET /api/v0/main-frontend/users/my-certificates - Every certificate the authenticated user holds.

No user id parameter, so it cannot be pointed at another account. Anyone holding a certificate’s verification id can already fetch its image; this only lists which ones are the caller’s.