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

    • expiresAt

      protected String expiresAt
      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

      @WithBridgeMethods(value=java.util.Date.class, adapterMethod="instantToDate") public Instant getExpiresAt()
      Gets expires at.
      Returns:
      date when this token expires