Skip to content

Conversation

@SerEgoroff
Copy link
Collaborator

@SerEgoroff SerEgoroff commented Oct 18, 2024

Backend provides a controller sends OTP codes (from 4 to 8 digits only) via messengers. Telegram and WhatsApp are supported. If they both can't send the OTP to the necessary phone number, SMS will try to be used for sending.

There are new services - general OtpService, which manages gateways, and special TelegramService (interacting with Telegram API) and WhatsAppService (interacting with Telegram API with AuthTempMessages).

New OtpController has lots common code with the MessageController class, so they are refactored and now have common base class.

@deepsource-io
Copy link
Contributor

deepsource-io bot commented Oct 18, 2024

Here's the code health analysis summary for commits 5f12c9e..afe854c. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource C# LogoC#✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@SerEgoroff SerEgoroff changed the title OTP via Telegram OTP via Telegram or WhatsApp Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant