Share via


TokenExchangeState Class

TokenExchangeState

Constructor

pydantic model TokenExchangeState

Parameters

Name Description
connection_name
Required
str

The connection name that was used.

conversation
Required

Gets or sets a reference to the conversation.

relates_to
Required

Gets or sets a reference to a related parent conversation for this token exchange.

agent_url
Required
str

The URL of the agent messaging endpoint.

ms_app_id
Required
str

The agent's registered application ID.

Keyword-Only Parameters

Name Description
connectionName
Default value: None
conversation
Default value: None
relatesTo
Default value: None
bot_url
Default value: None
msAppId
Default value: None

Methods

get_encoded_state

Returns the encoded state for the token exchange.

get_encoded_state

Returns the encoded state for the token exchange.

get_encoded_state() -> str

Returns

Type Description
str

Attributes

agent_url

field agent_url: str = None (alias 'bot_url')

connection_name

field connection_name: str = None (alias 'connectionName')

conversation

field conversation: ConversationReference = None

ms_app_id

field ms_app_id: str = None (alias 'msAppId')

relates_to

field relates_to: ConversationReference | None = None (alias 'relatesTo')