TeamsBotSsoPromptSettings interface

Settings used to configure an TeamsBotSsoPrompt instance.

Properties

endOnInvalidMessage

(Optional) value indicating whether the TeamsBotSsoPrompt should end upon receiving an invalid message. Generally the TeamsBotSsoPrompt will end the auth flow when receives user message not related to the auth flow. Setting the flag to false ignores the user's message instead. Defaults to value true

scopes

The array of strings that declare the desired permissions and the resources requested.

timeout

(Optional) number of milliseconds the prompt will wait for the user to authenticate. Defaults to a value 900,000 (15 minutes.)

Property Details

endOnInvalidMessage

(Optional) value indicating whether the TeamsBotSsoPrompt should end upon receiving an invalid message. Generally the TeamsBotSsoPrompt will end the auth flow when receives user message not related to the auth flow. Setting the flag to false ignores the user's message instead. Defaults to value true

endOnInvalidMessage?: boolean

Property Value

boolean

scopes

The array of strings that declare the desired permissions and the resources requested.

scopes: string[]

Property Value

string[]

timeout

(Optional) number of milliseconds the prompt will wait for the user to authenticate. Defaults to a value 900,000 (15 minutes.)

timeout?: number

Property Value

number