TelegramAuth + TelegramAuthBot + WatchTogether; README/AGENT
- mods/TelegramAuth, mods/TelegramAuthBot, mods/WatchTogether: копии из образа с enable: true (правило 1), секции в config/init.conf - TelegramAuth в API-режиме (enable: false -> accsdb/гейт не поднимается), TelegramAuthBot: бот @GatusMonBot, long polling - WatchTogether: customPlugins watchtogether.js, relay /wt/c/ - README: секция про SQLite/volume (первый запуск), таблица модулей, состояние Tg-notify и TelegramAuth, раздел WatchTogether - AGENT: правило 10 дополнено секретами init.conf, §12 переписан, добавлен §13 WatchTogether, список mods/ в §1 - в git bot_token и mutations_api_secret оставлены пустыми (правило 10), реальные значения только в рабочем файле на сервере
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace TelegramAuth.Services
|
||||
{
|
||||
public enum TelegramAuthBindFailureKind
|
||||
{
|
||||
UserNotFound,
|
||||
UserDisabled
|
||||
}
|
||||
|
||||
public sealed class TelegramAuthBindException : Exception
|
||||
{
|
||||
public TelegramAuthBindFailureKind FailureKind { get; }
|
||||
|
||||
public TelegramAuthBindException(TelegramAuthBindFailureKind failureKind, string message)
|
||||
: base(message)
|
||||
{
|
||||
FailureKind = failureKind;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user