UserTokenBasicMock Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Mock UserToken with just user id and token.
public class UserTokenBasicMock : Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.UserTokenMocks.UserTokenMock
type UserTokenBasicMock = class
inherit UserTokenMock
Public Class UserTokenBasicMock
Inherits UserTokenMock
- Inheritance
Constructors
UserTokenBasicMock(String, Int32) |
Initializes a new instance of the UserTokenBasicMock class. |
Fields
Kind |
The kind for this class. |
Properties
ChannelId |
Gets or sets the channel ID. |
ConnectionName |
Gets or sets the connection name. |
MagicCode |
Gets or sets the optional magic code to associate with this token. |
Token |
Gets or sets the token to store. |
UserId |
Gets or sets the user ID. |
Methods
RegisterSourcePath(String, Int32) |
Registers the source path. (Inherited from UserTokenMock) |
Setup(TestAdapter) |
Method to setup this mock for an adapter. |