Interface GithubService
- All Known Implementing Classes:
GithubServiceImpl
public interface GithubService
-
Field Summary
FieldsModifier and TypeFieldDescriptionall permissions for personal access tokens -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.github.GitHub
connectToGithub
(@NotNull GithubCredentials githubCredentials) initialize github and verify access token
-
Field Details
-
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
-