Invitation Email Adapter
Component Detail
Infrastructure
low complexity
backend
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Infrastructure component responsible for generating time-limited invitation tokens and dispatching invitation emails via the platform's transactional email provider. Tokens are stored with an expiry timestamp and invalidated upon first use or expiry.
invitation-email-adapter
Responsibilities
- Generate cryptographically secure time-limited invitation tokens
- Send invitation emails with activation links via transactional email provider
- Invalidate or expire tokens after use or timeout
Interfaces
generateInviteToken(userId, expiryHours)
sendInvitationEmail(email, token, orgName)
validateToken(token)
invalidateToken(token)
resendInvitationEmail(email, token)