Class GithubConnectorPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.gamification.plugin.ConnectorPlugin
org.exoplatform.gamification.github.plugin.GithubConnectorPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class GithubConnectorPlugin
extends io.meeds.gamification.plugin.ConnectorPlugin
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionGithubConnectorPlugin(io.meeds.gamification.service.ConnectorSettingService connectorSettingService) -
Method Summary
Modifier and TypeMethodDescriptioncom.github.scribejava.core.oauth.OAuth20ServicegetOAuthService(io.meeds.gamification.model.RemoteConnectorSettings remoteConnectorSettings) validateToken(String accessToken) Methods inherited from class io.meeds.gamification.plugin.ConnectorPlugin
validateTokenMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
GithubConnectorPlugin
public GithubConnectorPlugin(io.meeds.gamification.service.ConnectorSettingService connectorSettingService)
-
-
Method Details
-
validateToken
- Overrides:
validateTokenin classio.meeds.gamification.plugin.ConnectorPlugin- Throws:
io.meeds.oauth.exception.OAuthException
-
getConnectorName
- Specified by:
getConnectorNamein classio.meeds.gamification.plugin.ConnectorPlugin
-
getOAuthService
public com.github.scribejava.core.oauth.OAuth20Service getOAuthService(io.meeds.gamification.model.RemoteConnectorSettings remoteConnectorSettings)
-