Jaa


UserTokenBasicMock Class

Definition

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
UserTokenBasicMock

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.

Applies to