You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SecurityLayer is a BotLayer that does one and only one thing; it inspects each incoming Update, determines the originating user id, and updates the Context to reflect the appropriate User / IUser.
This allows the rest of the Telefrag framework to home off the User property of Context; tying Context to the user invoking the action, and allowing security on items such as Commands, Callbacks, Menus, etc. to occur seamlessly and without explicit boilerplate or ceremony.