OAuthSettings.EndOnInvalidMessage Property
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.
Gets or sets a value indicating whether the Microsoft.Agents.Builder.Dialogs.Prompts.OAuthPrompt should end upon
receiving an invalid message. Generally the Microsoft.Agents.Builder.Dialogs.Prompts.OAuthPrompt will ignore
incoming messages from the user during the auth flow, if they are not related to the
auth flow. This flag enables ending the Microsoft.Agents.Builder.Dialogs.Prompts.OAuthPrompt rather than
ignoring the user's message. Typically, this flag will be set to 'true', but is 'false'
by default for backwards compatibility.
public bool EndOnInvalidMessage { get; set; }
member this.EndOnInvalidMessage : bool with get, set
Public Property EndOnInvalidMessage As Boolean
Property Value
True if the Microsoft.Agents.Builder.Dialogs.Prompts.OAuthPrompt should automatically end upon receiving
an invalid message.