Package io.jenkins.plugins.oidc_provider
Class FolderIssuer.Factory
java.lang.Object
io.jenkins.plugins.oidc_provider.FolderIssuer.Factory
- All Implemented Interfaces:
ExtensionPoint
,Issuer.Factory
- Enclosing class:
- FolderIssuer
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionforConfig
(org.kohsuke.stapler.StaplerRequest req) Find an issuer potentially being configured from a certain screen.Collection<? extends Issuer>
forContext
(Run<?, ?> context) Find issuers which might be applicable to a given build.Find an issuer by URI suffix.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
forUri
Description copied from interface:Issuer.Factory
Find an issuer by URI suffix.- Specified by:
forUri
in interfaceIssuer.Factory
- Parameters:
uri
- a possible value ofIssuer.uri()
- Returns:
- a corresponding issuer, if recognized
-
forContext
Description copied from interface:Issuer.Factory
Find issuers which might be applicable to a given build.- Specified by:
forContext
in interfaceIssuer.Factory
- Parameters:
context
- a build context- Returns:
- issuers handled by this factory which might apply to this build, most specific first (possibly empty)
-
forConfig
Description copied from interface:Issuer.Factory
Find an issuer potentially being configured from a certain screen.- Specified by:
forConfig
in interfaceIssuer.Factory
- Parameters:
req
- form validation request in a credentials configuration screen- Returns:
- a potential issuer for that location, if valid
- See Also:
-
StaplerRequest.findAncestorObject(java.lang.Class<T>)
-