Class AccessInferredRepository

All Implemented Interfaces:
Describable<RepositoryAccessStrategy>, Serializable

public class AccessInferredRepository extends RepositoryAccessStrategy
This mode allows GitHubAppCredentials to generate an installation token whose owner and accessible repositories depend on the context in which the credential is used.

For example, when used in a multibranch project, the generated installation tokens will only allow access to the repository for the multibranch project itself. When used with an organization folder, each multibranch project will get an access token that is only valid for its own repository.

Note that some organization folder functionality (e.g. org scans) uses tokens that are not limited to a specific repository, but these tokens should never be accessible in the context of a Run.

See Also:
  • Constructor Details

    • AccessInferredRepository

      @DataBoundConstructor public AccessInferredRepository()
  • Method Details