Condividi tramite


OAuthPromptSettings Class

Definition

Contains settings for an OAuthPrompt.

public class OAuthPromptSettings : Microsoft.Agents.Builder.UserAuth.TokenService.OAuthSettings
type OAuthPromptSettings = class
    inherit OAuthSettings
Public Class OAuthPromptSettings
Inherits OAuthSettings
Inheritance
OAuthPromptSettings

Constructors

OAuthPromptSettings()

Properties

AzureBotOAuthConnectionName

Gets or sets the name of the OAuth Connection defined on the Azure Bot.

(Inherited from OAuthSettings)
EnableSso

Set to true to enable SSO when authenticating using Azure Active Directory (AAD).

(Inherited from OAuthSettings)
EndOnInvalidMessage

Gets or sets a value indicating whether the OAuthPrompt should end upon receiving an invalid message. Generally the 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 OAuthPrompt rather than ignoring the user's message. Typically, this flag will be set to 'true', but is 'false' by default for backwards compatibility.

(Inherited from OAuthSettings)
InvalidSignInRetryMax (Inherited from OAuthSettings)
InvalidSignInRetryMessage (Inherited from OAuthSettings)
OBOConnectionName (Inherited from OAuthSettings)
OBOScopes (Inherited from OAuthSettings)
ShowSignInLink

Gets or sets an optional boolean value to force the display of a Sign In link overriding the default behavior.

(Inherited from OAuthSettings)
Text

Gets or sets any additional text to include in the sign-in card.

(Inherited from OAuthSettings)
Timeout

Gets or sets the number of milliseconds the prompt waits for the user to authenticate. Default is DefaultTimeoutValue.

(Inherited from OAuthSettings)
Title

Gets or sets the title of the sign-in card.

(Inherited from OAuthSettings)

Applies to