Package io.jenkins.blueocean.auth.jwt
Class JwtTokenDecorator
- java.lang.Object
-
- io.jenkins.blueocean.auth.jwt.JwtTokenDecorator
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class JwtTokenDecorator extends Object implements ExtensionPoint
Participates in the creation of JwtToken- Author:
- Vivek Pandey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description JwtTokenDecorator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExtensionList<JwtTokenDecorator>
all()
Returns all the registeredJwtTokenDecorator
sabstract void
decorate(JwtToken token)
Called right beforeJwtToken
is signed.
-
-
-
Method Detail
-
decorate
public abstract void decorate(JwtToken token)
Called right beforeJwtToken
is signed. This is an opportunity to add additional claim/header into the token.- Parameters:
token
- token to be decorated
-
all
public static ExtensionList<JwtTokenDecorator> all()
Returns all the registeredJwtTokenDecorator
s
-
-