TurnStateConstants Class

  • java.lang.Object
    • com.microsoft.bot.builder.TurnStateConstants

public final class TurnStateConstants

Constants used in TurnState.

Field Summary

Modifier and Type Field and Description
static final java.lang.String OAUTH_LOGIN_TIMEOUT_KEY

TurnState key for the OAuth login timeout.

static final java.time.Duration OAUTH_LOGIN_TIMEOUT_VALUE

Default amount of time an OAuthCard will remain active (clickable and actively waiting for a token).

static final java.lang.String TOKEN_POLLING_SETTINGS_KEY

Name of the token polling settings key.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

OAUTH_LOGIN_TIMEOUT_KEY

public static final String OAUTH_LOGIN_TIMEOUT_KEY

TurnState key for the OAuth login timeout.

OAUTH_LOGIN_TIMEOUT_VALUE

public static final Duration OAUTH_LOGIN_TIMEOUT_VALUE

Default amount of time an OAuthCard will remain active (clickable and actively waiting for a token). After this time: (1) the OAuthCard will not allow the user to click on it. (2) any polling triggered by the OAuthCard will stop.

TOKEN_POLLING_SETTINGS_KEY

public static final String TOKEN_POLLING_SETTINGS_KEY

Name of the token polling settings key.

Applies to