Share via


OAuthPromptSettings Class

Definition

Contains settings for an OAuthPrompt.

public class OAuthPromptSettings
type OAuthPromptSettings = class
Public Class OAuthPromptSettings
Inheritance
OAuthPromptSettings

Constructors

OAuthPromptSettings()

Properties

ConnectionName

Gets or sets the name of the OAuth connection.

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.

OAuthAppCredentials

Gets or sets the OAuthAppCredentials for OAuthPrompt.

ShowSignInLink

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

Text

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

Timeout

Gets or sets the number of milliseconds the prompt waits for the user to authenticate. Default is 900,000 (15 minutes).

Title

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

Applies to