Package io.jenkins.plugins.oidc_provider
Interface Issuer.Factory
-
- All Superinterfaces:
ExtensionPoint
- All Known Implementing Classes:
FolderIssuer.Factory
,RootIssuer
- Enclosing class:
- Issuer
public static interface Issuer.Factory extends ExtensionPoint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Issuer
forConfig(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.Issuer
forUri(String uri)
Find an issuer by URI suffix.
-
-
-
Method Detail
-
forUri
@CheckForNull Issuer forUri(@NonNull String uri)
Find an issuer by URI suffix.- Parameters:
uri
- a possible value ofIssuer.uri()
- Returns:
- a corresponding issuer, if recognized
-
forContext
@NonNull Collection<? extends Issuer> forContext(@NonNull Run<?,?> context)
Find issuers which might be applicable to a given build.- Parameters:
context
- a build context- Returns:
- issuers handled by this factory which might apply to this build, most specific first (possibly empty)
-
forConfig
@CheckForNull Issuer forConfig(@NonNull org.kohsuke.stapler.StaplerRequest req)
Find an issuer potentially being configured from a certain screen.- 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>)
-
-