Skip to main content

Module generated_certificates

Module generated_certificates 

Source

Structs§

CertificateUpdateRequest
GeneratedCertificate
UserCertificate
A certificate with the course it was earned on, as a profile listing or support tooling needs it.

Functions§

find_existing
generate_and_insert
Verifies that the user has completed the given module and creates the certificate in the database.
generate_verification_id 🔒
get_all_by_user_id
Every certificate the user holds, newest first.
get_by_id
get_by_verification_id
The certificate a verification id addresses, or None when no active certificate has that id.
get_certificate_by_verification_id
get_certificate_for_user
insert_raw
update_certificate
Rewrites what an issued certificate prints: its holder-facing name and the date it is dated.