Closed cskeogh closed 4 years ago
Note: The mock message service would not re-implement a security model like the telephone companies. Real SMS security would rely on the transport layer, SIM IDs, IMEIs etc which aren't available in a mock environment. The mock service would allow anyone to send a message to anyone, and clients can retrieve their messages by supplying their phone number only. If the mock message service was later switched to a real message service, SlowVid would utilise the security of the real message service.
As as server, I want to send a client a OTP via SMS, so clients can't sign-up multiple times using the same phone number.
Implement a simple mock message (SMS) service that behaves somewhat like a message service at a real telephone company . Per #23 SlowVid back-end can't store phone numbers, therefore back-end needs a way to send an SMS fire-and-forget.
It would be possible to implement the mock SMS service within SlowVid back-end, but doesn't seem right, and would have to store the phone number:
A simple mock message (SMS) service instead:
Let me know if you don't like it