Class IssueTokenParameters.Builder

    • Method Detail

      • withProjectScope

        public IssueTokenParameters.Builder withProjectScope​(@NotNull
                                                             String[] projectScope)
        Scope the token to the given projects. The values must be external IDs of TeamCity projects.
      • withAccessibleEntities

        public IssueTokenParameters.Builder withAccessibleEntities​(@NotNull
                                                                   String[] accessibleEntities)
        Restrict the token to individual accessible entities. The values are specific to the underlying OAuth provider.
      • withIssueTokenRequestId

        public IssueTokenParameters.Builder withIssueTokenRequestId​(@NotNull
                                                                    String issueTokenRequestId)
        Record a unique request ID to identify the overarching request to issue a token.