Class GHAppCreateTokenBuilder

    • Field Detail

      • builder

        protected final org.kohsuke.github.Requester builder
    • Method Detail

      • repositoryIds

        @Preview
        @Deprecated
        public GHAppCreateTokenBuilder repositoryIds​(List<Long> repositoryIds)
        Deprecated.
        By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the repository_ids when creating the token. When you omit repository_ids, the response does not contain neither the repositories nor the permissions key.
        Parameters:
        repositoryIds - Array containing the repositories Ids
        Returns:
        a GHAppCreateTokenBuilder
      • permissions

        @Preview
        @Deprecated
        public GHAppCreateTokenBuilder permissions​(Map<String,​GHPermissionType> permissions)
        Deprecated.
        Set the permissions granted to the access token. The permissions object includes the permission names and their access type.
        Parameters:
        permissions - Map containing the permission names and types.
        Returns:
        a GHAppCreateTokenBuilder