UserTokenClient.CreateTokenExchangeState(String, String, Activity) Method
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.
Helper function to create the base64 encoded token exchange state used in GetSignInResourceAsync calls.
protected static string CreateTokenExchangeState (string appId, string connectionName, Microsoft.Bot.Schema.Activity activity);
static member CreateTokenExchangeState : string * string * Microsoft.Bot.Schema.Activity -> string
Protected Shared Function CreateTokenExchangeState (appId As String, connectionName As String, activity As Activity) As String
Parameters
- appId
- String
The appId to include in the token exchange state.
- connectionName
- String
The connectionName to include in the token exchange state.
Returns
base64 encoded token exchange state.