Package org.kohsuke.github
Class GHAuthenticatedAppInstallation
- java.lang.Object
-
- org.kohsuke.github.GHAuthenticatedAppInstallation
-
public class GHAuthenticatedAppInstallation extends Object
The Github App Installation corresponding to the installation token used in a client.- See Also:
GitHub#getAuthenticatedAppInstallation()
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GHAuthenticatedAppInstallation(GitHub root)
Instantiates a new GH authenticated app installation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GitHub
getRoot()
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.PagedSearchIterable<GHRepository>
listRepositories()
List repositories that this app installation can access.
-
-
-
Method Detail
-
listRepositories
@Preview(MACHINE_MAN) public PagedSearchIterable<GHRepository> listRepositories()
List repositories that this app installation can access.- Returns:
- the paged iterable
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
-