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

    Constructors
    Constructor
    Description
    GithubConnectorPlugin(io.meeds.gamification.service.ConnectorSettingService connectorSettingService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.github.scribejava.core.oauth.OAuth20Service
    getOAuthService(io.meeds.gamification.model.RemoteConnectorSettings remoteConnectorSettings)
     
    validateToken(String accessToken)
     

    Methods inherited from class io.meeds.gamification.plugin.ConnectorPlugin

    validateToken

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GithubConnectorPlugin

      public GithubConnectorPlugin(io.meeds.gamification.service.ConnectorSettingService connectorSettingService)
  • Method Details

    • validateToken

      public String validateToken(String accessToken) throws io.meeds.oauth.exception.OAuthException
      Overrides:
      validateToken in class io.meeds.gamification.plugin.ConnectorPlugin
      Throws:
      io.meeds.oauth.exception.OAuthException
    • getConnectorName

      public String getConnectorName()
      Specified by:
      getConnectorName in class io.meeds.gamification.plugin.ConnectorPlugin
    • getOAuthService

      public com.github.scribejava.core.oauth.OAuth20Service getOAuthService(io.meeds.gamification.model.RemoteConnectorSettings remoteConnectorSettings)