java.lang.Object
org.kohsuke.github.GHAppInstallationToken
A Github App Installation Token.
- Author:
- Paulo Miguel Almeida
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets expires at.Gets permissions.Gets repositories.Gets repository selection.getToken()
Gets token.
-
Field Details
-
expiresAt
The expires at.
-
-
Constructor Details
-
GHAppInstallationToken
public GHAppInstallationToken()Create default GHAppInstallationToken instance
-
-
Method Details
-
getPermissions
Gets permissions.- Returns:
- the permissions
-
getToken
Gets token.- Returns:
- the token
-
getRepositories
Gets repositories.- Returns:
- the repositories
-
getRepositorySelection
Gets repository selection.- Returns:
- the repository selection
-
getExpiresAt
@WithBridgeMethods(value=java.util.Date.class, adapterMethod="instantToDate") public Instant getExpiresAt()Gets expires at.- Returns:
- date when this token expires
-