public abstract class JwtTokenDecorator extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
JwtTokenDecorator() |
| Modifier and Type | Method and Description |
|---|---|
static ExtensionList<JwtTokenDecorator> |
all()
Returns all the registered
JwtTokenDecorators |
abstract void |
decorate(JwtToken token)
Called right before
JwtToken is signed. |
public abstract void decorate(JwtToken token)
JwtToken is signed.
This is an opportunity to add additional claim/header into the token.token - token to be decoratedpublic static ExtensionList<JwtTokenDecorator> all()
JwtTokenDecoratorsCopyright © 2016–2023. All rights reserved.