Repository navigation
Commit b2f9b26
committed
refactor(plugin-auth): move AuthManager's email and SMS delivery into auth-manager-email-sms-delivery.ts
Seven method bodies move unedited: sendChangeEmailNotice,
getOtpSendGuard, assertPhoneOtpSendAllowed, deliverPhoneOtp,
sendPhoneInviteSms, storedRecipientLocale and renderPhoneSmsBody. The
four module-level declarations only they read move with them: the SMS
quota refusal code and its matcher, the quota wall's 429, and the one
phone OTP send refusal code. The class keeps all seven methods, their
docblocks and signatures, and hands each body the members it reads.
The APIError pin's file list, the dispatcher error vocabulary row for
deliverPhoneOtp and the five-sends population comments follow the
moved text.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LSXBc2GCBwiAL7vV4kWkyr1 parent ca381a8 commit b2f9b26
5 files changed
Lines changed: 527 additions & 332 deletions
File tree
- packages
- plugins/plugin-auth/src
- runtime/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
858 | 858 | | |
859 | 859 | | |
860 | 860 | | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
865 | 867 | | |
866 | 868 | | |
867 | 869 | | |
| |||
1120 | 1122 | | |
1121 | 1123 | | |
1122 | 1124 | | |
1123 | | - | |
1124 | | - | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1125 | 1128 | | |
1126 | 1129 | | |
1127 | 1130 | | |
| |||
0 commit comments