AuthenticationOptions interface

The options to configure the authentication manager

Properties

autoSignIn

Defaults to true. Indicates whether the bot should start the sign in flow when the user sends a message to the bot or triggers a message extension. If set to false, the bot will not start the sign in flow before routing the activity to the bot logic.

To set custom logic, set this property to the selector function.

default

Describes the setting the bot should use if the user does not specify a setting name.

settings

The authentication settings. Key uniquely identifies the connection string.

Property Details

autoSignIn

Defaults to true. Indicates whether the bot should start the sign in flow when the user sends a message to the bot or triggers a message extension. If set to false, the bot will not start the sign in flow before routing the activity to the bot logic.

To set custom logic, set this property to the selector function.

autoSignIn?: boolean | Selector

Property Value

boolean | Selector

default

Describes the setting the bot should use if the user does not specify a setting name.

default?: string

Property Value

string

settings

The authentication settings. Key uniquely identifies the connection string.

settings: {[key: string]: OAuthSettings | TeamsSsoSettings}

Property Value

{[key: string]: OAuthSettings | TeamsSsoSettings}