Extension Points defined in OAuth Credentials Plugin
This site is the new docs site currently being tested. For the actual docs in use please go to https://www.jenkins.io/doc. |
DomainRequirementProvider
jenkinsdoc:oauth-credentials:com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider]
This jenkinsdoc:ExtensionPoint] serves as a means for plugins to augment the domain-requirement discovery process. The intended usage is: List<T> list = DomainRequirementProvider.lookupRequirements( FooRequirement.class);
This will delegate to the various extension implementations to jenkinsdoc:=provide(Class)] a jenkinsdoc:List] of requirements from things it understands how to discover. The expectation is that it will call: of(discoveredClass, type /* parameter to provide *{@literal /});
in order to perform the jenkinsdoc:RequiresDomain] resolution.
Implementations:
-
Google Authenticated Source Plugin: com.
google. jenkins. plugins. source. GoogleRobotUsernamePassword. EnclosingDomainRequirementProvider (view on GitHub) -
Google Container Registry Auth Plugin: com.
google. jenkins. plugins. googlecontainerregistryauth. GoogleContainerRegistryCredential. EnclosingDomainRequirementProvider (view on GitHub) -
OAuth Credentials Plugin: com.
google. jenkins. plugins. credentials. domains. DescribableDomainRequirementProvider (view on GitHub)