Interface OAuthConstants
-
public interface OAuthConstants
-
-
Field Summary
-
-
-
Field Detail
-
FEATURE_TYPE
static final String FEATURE_TYPE
- See Also:
- Constant Field Values
-
OAUTH_TYPE_PARAM
static final String OAUTH_TYPE_PARAM
- See Also:
- Constant Field Values
-
DISPLAY_NAME_PARAM
static final String DISPLAY_NAME_PARAM
- See Also:
- Constant Field Values
-
FEATURE_TOGGLE_HEALTH_REPORT
static final String FEATURE_TOGGLE_HEALTH_REPORT
- See Also:
- Constant Field Values
-
FEATURE_TOGGLE_TOKEN_MANAGEMENT
static final String FEATURE_TOGGLE_TOKEN_MANAGEMENT
- See Also:
- Constant Field Values
-
FEATURE_TOGGLE_TOKEN_MGMT_SUPPORT_TOKEN_PERMS
static final String FEATURE_TOGGLE_TOKEN_MGMT_SUPPORT_TOKEN_PERMS
This feature toggle is used to control whether token management UI components should support so-called token permissions. Token permissions are directly related to a token's OAuth scope and the token intent. If this toggle is disabled, TeamCity will neither ask for the token intent for new tokens nor display the OAuth scope for existing tokens. This toggle is disabled by default.- Since:
- 2024.12
- See Also:
TokenIntent
,OAuthProvider.getScopeForIntent(OAuthConnectionDescriptor, TokenIntent)
, Constant Field Values
-
FEATURE_TOGGLE_TOKEN_MGMT_RESTRICT_USAGE
static final String FEATURE_TOGGLE_TOKEN_MGMT_RESTRICT_USAGE
This feature toggle is used to control whether token management allows admin users to use tokens of all users. By default, even project admins are only allowed to use their own tokens or non-personal tokens. If this toggle is disabled, project admins will be able to see / use token IDs of all tokens available to their projects. This toggle is enabled by default.- Since:
- 2024.12
- See Also:
- Constant Field Values
-
FEATURE_TOGGLE_TOKEN_MGMT_FILTER_CONNECTIONS
static final String FEATURE_TOGGLE_TOKEN_MGMT_FILTER_CONNECTIONS
This feature toogle is used to control whether the "token controls" UI components can filter connections by accessible entities. Accessible entities are provider-specific restrictions e.g., accessible repositories for GitHub App connections. This toggle is enabled by default.- Since:
- 2024.12
- See Also:
- Constant Field Values
-
FEATURE_TOGGLE_TOKEN_MGMT_ALLOW_SHOW_ALL_TOKENS
static final String FEATURE_TOGGLE_TOKEN_MGMT_ALLOW_SHOW_ALL_TOKENS
When this feature toggle is enabled, the token list will provide an option to show all available tokens. Normally, tokens are filtered by their project scope and tokens without any scope are not shown at all. With this UI option, project admins can optionally see the whole list of tokens available to their project.- Since:
- 2024.12
- See Also:
- Constant Field Values
-
FEATURE_TOGGLE_UNIQUE_REDIRECT_URLS
static final String FEATURE_TOGGLE_UNIQUE_REDIRECT_URLS
- See Also:
- Constant Field Values
-
FEATURE_TOGGLE_UNIQUE_URL_REPORT
static final String FEATURE_TOGGLE_UNIQUE_URL_REPORT
- See Also:
- Constant Field Values
-
PARAM_OAUTH_PROVIDER_ID
static final String PARAM_OAUTH_PROVIDER_ID
- See Also:
- Constant Field Values
-
PARAM_TOKEN_TYPE
static final String PARAM_TOKEN_TYPE
- See Also:
- Constant Field Values
-
PARAM_ISSUE_TOKEN_PARAMETERS_REFERENCE
static final String PARAM_ISSUE_TOKEN_PARAMETERS_REFERENCE
A request parameter that holds a reference to remembered configuration parameters used when issuing a new OAuth token.- Since:
- 2024.07
- See Also:
- Constant Field Values
-
PARAM_PROJECT_SCOPE
static final String PARAM_PROJECT_SCOPE
- See Also:
- Constant Field Values
-
PARAM_ACCESSIBLE_ENTITIES
static final String PARAM_ACCESSIBLE_ENTITIES
- See Also:
- Constant Field Values
-
PARAM_ACCESSIBLE_ENTITY
static final String PARAM_ACCESSIBLE_ENTITY
- See Also:
- Constant Field Values
-
PARAM_TOKEN_ID
static final String PARAM_TOKEN_ID
- See Also:
- Constant Field Values
-
PARAM_TOKEN_INTENT_TYPE
static final String PARAM_TOKEN_INTENT_TYPE
- See Also:
- Constant Field Values
-
PARAM_USE_UNIQUE_REDIRECT
static final String PARAM_USE_UNIQUE_REDIRECT
- See Also:
- Constant Field Values
-
TEST_CONNECTION_ENDPOINT_PARAM
static final String TEST_CONNECTION_ENDPOINT_PARAM
- See Also:
- Constant Field Values
-
PARAM_REDIRECT_ID
static final String PARAM_REDIRECT_ID
- See Also:
- Constant Field Values
-
PARAM_OAUTH_USERNAME
static final String PARAM_OAUTH_USERNAME
- See Also:
- Constant Field Values
-
PARAM_TOKEN_NAME
static final String PARAM_TOKEN_NAME
- See Also:
- Constant Field Values
-
PARAM_NEW_TOKEN_REQUEST_ID
static final String PARAM_NEW_TOKEN_REQUEST_ID
- See Also:
- Constant Field Values
-
PARAM_REQUEST_NEW_TOKEN
static final String PARAM_REQUEST_NEW_TOKEN
- See Also:
- Constant Field Values
-
PARAM_REUSE_WINDOW
static final String PARAM_REUSE_WINDOW
- See Also:
- Constant Field Values
-
PARAM_HAS_EXPLICIT_PROJECT_SCOPE
static final String PARAM_HAS_EXPLICIT_PROJECT_SCOPE
- See Also:
- Constant Field Values
-
PROP_REDIRECT_STORAGE_CLEANUP_COOLDOWN
static final String PROP_REDIRECT_STORAGE_CLEANUP_COOLDOWN
- See Also:
- Constant Field Values
-
DEFAULT_REDIRECT_STORAGE_CLEANUP_COOLDOWN_MILLIS
static final long DEFAULT_REDIRECT_STORAGE_CLEANUP_COOLDOWN_MILLIS
-
SESSION_ATTRIBUTE_REDIRECT_ID
static final String SESSION_ATTRIBUTE_REDIRECT_ID
- See Also:
- Constant Field Values
-
TOKEN_TYPE_REFRESHABLE
static final String TOKEN_TYPE_REFRESHABLE
- See Also:
- Constant Field Values
-
TOKEN_TYPE_PERMANENT
static final String TOKEN_TYPE_PERMANENT
- See Also:
- Constant Field Values
-
-