All Known Implementing Classes:
GithubServiceImpl

public interface GithubService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<String>
    all permissions for personal access tokens
  • Method Summary

    Modifier and Type
    Method
    Description
    org.kohsuke.github.GitHub
    connectToGithub(@NotNull GithubCredentials githubCredentials)
    initialize github and verify access token
  • Field Details

    • allPermissions

      static final List<String> allPermissions
      all permissions for personal access tokens
  • Method Details

    • connectToGithub

      org.kohsuke.github.GitHub connectToGithub(@NotNull @NotNull GithubCredentials githubCredentials) throws IOException
      initialize github and verify access token
      Parameters:
      githubCredentials - username && personal access token : (https://github.com/settings/tokens)
      Returns:
      created Github Object
      Throws:
      IOException - if a problem occurs while connecting to github with the personalAccessToken