Package io.jenkins.blueocean.auth.jwt
Class JwtTokenDecorator
java.lang.Object
io.jenkins.blueocean.auth.jwt.JwtTokenDecorator
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<JwtTokenDecorator>
all()
Returns all the registeredJwtTokenDecorator
sabstract void
Called right beforeJwtToken
is signed.
-
Constructor Details
-
JwtTokenDecorator
public JwtTokenDecorator()
-
-
Method Details
-
decorate
Called right beforeJwtToken
is signed. This is an opportunity to add additional claim/header into the token.- Parameters:
token
- token to be decorated
-
all
Returns all the registeredJwtTokenDecorator
s
-