Share via


TestAdapter.AddUserToken(String, String, String, String, String) Method

Definition

Adds a fake user token so it can later be retrieved.

public void AddUserToken (string connectionName, string channelId, string userId, string token, string magicCode = default);
member this.AddUserToken : string * string * string * string * string -> unit
Public Sub AddUserToken (connectionName As String, channelId As String, userId As String, token As String, Optional magicCode As String = Nothing)

Parameters

connectionName
String

The connection name.

channelId
String

The channel ID.

userId
String

The user ID.

token
String

The token to store.

magicCode
String

The optional magic code to associate with this token.

Applies to