Class GHAppInstallationToken

java.lang.Object
org.kohsuke.github.GHAppInstallationToken

public class GHAppInstallationToken extends Object
A Github App Installation Token.
Author:
Paulo Miguel Almeida
See Also:
  • Field Details

    • expires_at

      protected String expires_at
      The expires at.
  • Constructor Details

    • GHAppInstallationToken

      public GHAppInstallationToken()
      Create default GHAppInstallationToken instance
  • Method Details

    • getPermissions

      public Map<String,String> getPermissions()
      Gets permissions.
      Returns:
      the permissions
    • getToken

      public String getToken()
      Gets token.
      Returns:
      the token
    • getRepositories

      public List<GHRepository> getRepositories()
      Gets repositories.
      Returns:
      the repositories
    • getRepositorySelection

      public GHRepositorySelection getRepositorySelection()
      Gets repository selection.
      Returns:
      the repository selection
    • getExpiresAt

      public Date getExpiresAt() throws IOException
      Gets expires at.
      Returns:
      date when this token expires
      Throws:
      IOException - on error