Certificate Admin Service
Component Detail
Service Layer
medium complexity
backend
3
Dependencies
0
Dependents
4
Entities
0
Integrations
Description
Backend service exposing the admin portal endpoints for manual certificate lifecycle management. Org Admins can issue, revoke, or extend certificates outside the automated course-completion flow.
certificate-admin-service
Responsibilities
- Issue a certificate manually for a user who completed training offline
- Revoke an active certificate with an audit-logged reason
- Extend an expiry date with an updated validity period
- Validate that the target user has a completed course enrollment before issuing
Interfaces
issueCertificate(userId: string, courseEnrollmentId: string, expiryDate: Date): Promise<Certificate>
revokeCertificate(certificateId: string, reason: string): Promise<void>
extendCertificate(certificateId: string, newExpiryDate: Date): Promise<Certificate>
getCertificatesForOrg(orgId: string): Promise<Certificate[]>
Relationships
Dependencies (3)
Components this component depends on
Related Data Entities (4)
Data entities managed by this component