Class GitLabCEorEEOAuthProvider
- java.lang.Object
 - 
- jetbrains.buildServer.serverSide.oauth.OAuthProvider
 - 
- jetbrains.buildServer.serverSide.oauth.gitlab.GitLabComOAuthProvider
 - 
- jetbrains.buildServer.serverSide.oauth.gitlab.GitLabCEorEEOAuthProvider
 
 
 
 
- 
- All Implemented Interfaces:
 ConnectionProvider,ServerExtension,TeamCityExtension
public class GitLabCEorEEOAuthProvider extends GitLabComOAuthProvider
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classGitLabCEorEEOAuthProvider.GitLabCEorEEPropertiesProcessor- 
Nested classes/interfaces inherited from class jetbrains.buildServer.serverSide.oauth.gitlab.GitLabComOAuthProvider
GitLabComOAuthProvider.GitLabComPropertiesProcessor 
- 
Nested classes/interfaces inherited from class jetbrains.buildServer.serverSide.oauth.OAuthProvider
OAuthProvider.CapabilityResolver 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static StringDISPLAY_NAMEstatic StringTYPE- 
Fields inherited from class jetbrains.buildServer.serverSide.oauth.OAuthProvider
COMPOUND_STORAGE_ID_PREFIX, myCapabilityResolvers, NOPE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GitLabCEorEEOAuthProvider(GitLabClientFactory clientFactory) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()PropertiesProcessorgetPropertiesProcessor()StringgetProviderTypeForUniqueRedirect()Returns the provider type to be included in unique redirect URLs.StringgetType()booleanisUniqueRedirectsSupported()Whether this provider supports the creation of unique redirect URLs.- 
Methods inherited from class jetbrains.buildServer.serverSide.oauth.gitlab.GitLabComOAuthProvider
describeConnection, getClientId, getClientSecret, getEditParametersUrl, getFallbackRedirectPath, getServerUrl, getServerUrl, getTokenPopupPath, getTokenStorageId, getTokenStorageParameters, getTokenUsageParamsForVcsRoot, isAcquiringTokenSupported, isTokenRefreshSupported, refreshToken 
- 
Methods inherited from class jetbrains.buildServer.serverSide.oauth.OAuthProvider
applyAccessibleEntities, buildCompoundTokenStorageId, connectionHasCapability, connectionIsHidden, describeConnectionForUI, getAccessibleEntitiesEndpoint, getAdditionalUIConnectionDescription, getCapabilitiesUrl, getCapabilityResolver, getDefaultProperties, getScope, getScopeForIntent, getSupportedTokenIntentTypes, isAccessibleEntitiesSupported, isAcquiringTokenSupportedForConnection, isAvailable, isCapabilitiesEnabledForProject, isCapabilitiesSupported, isSuitableToken, registerCapabilityResolver, testConnection 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.buildServer.serverSide.connections.ConnectionProvider
describeConnection, getDisplayOrderRank, getTypeForUrl 
 - 
 
 - 
 
- 
- 
Field Detail
- 
TYPE
public static final String TYPE
- See Also:
 - Constant Field Values
 
 
- 
DISPLAY_NAME
public static final String DISPLAY_NAME
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
GitLabCEorEEOAuthProvider
public GitLabCEorEEOAuthProvider(@NotNull GitLabClientFactory clientFactory) 
 - 
 
- 
Method Detail
- 
getType
@NotNull public String getType()
- Specified by:
 getTypein interfaceConnectionProvider- Overrides:
 getTypein classGitLabComOAuthProvider- Returns:
 - String used to identify the Connection Provider type. All Connection features store this property in parameters.
 
 
- 
getDisplayName
@NotNull public String getDisplayName()
- Specified by:
 getDisplayNamein interfaceConnectionProvider- Overrides:
 getDisplayNamein classGitLabComOAuthProvider- Returns:
 - human friendly provider name
 
 
- 
getPropertiesProcessor
@Nullable public PropertiesProcessor getPropertiesProcessor()
- Specified by:
 getPropertiesProcessorin interfaceConnectionProvider- Overrides:
 getPropertiesProcessorin classGitLabComOAuthProvider- Returns:
 - processor for connection provider parameters. Properties processor performs validation function and is called when connection is edited or created.
 
 
- 
isUniqueRedirectsSupported
public boolean isUniqueRedirectsSupported()
Description copied from class:OAuthProviderWhether this provider supports the creation of unique redirect URLs. Providers wanting to support this feature should return true here and ensure that the respective access token controllers are registered viaBaseAccessTokenController.registerController(WebControllerManager, String). Also, the two related methodsOAuthProvider.getProviderTypeForUniqueRedirect()andOAuthProvider.getFallbackRedirectPath()must be implemented.- Overrides:
 isUniqueRedirectsSupportedin classOAuthProvider- Returns:
 - false, by default
 
 
- 
getProviderTypeForUniqueRedirect
@NotNull public String getProviderTypeForUniqueRedirect()
Description copied from class:OAuthProviderReturns the provider type to be included in unique redirect URLs.- Overrides:
 getProviderTypeForUniqueRedirectin classOAuthProvider- Returns:
 - URL-compatible provider type
 - See Also:
 OAuthProvider.isUniqueRedirectsSupported()
 
 - 
 
 -