Replies: 2 comments 1 reply
-
@garrytrinder @aycabas Want to get your thoughts on this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
how does this implementation integrate with message extensions and dialogs? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
User authentication is a crucial scenario in building bots. To implement it in the legacy bot framework, extensive knowledge of dialogs and how they work is required. With this proposed design, this logic is encapsulated in the
Authentication
class and a simple public interface is exposed for end user. The steps are simple:Application
class constructor.state.temp.value.authToken
property.Authentication.signOutUser
method.Authentication.onUserSignIn
method.Proposed design
The
Authentication
class.Usage example:
Beta Was this translation helpful? Give feedback.
All reactions