public abstract class JwtTokenDecorator extends Object implements hudson.ExtensionPoint
Constructor and Description |
---|
JwtTokenDecorator() |
Modifier and Type | Method and Description |
---|---|
static hudson.ExtensionList<JwtTokenDecorator> |
all()
Returns all the registered
JwtTokenDecorator s |
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 hudson.ExtensionList<JwtTokenDecorator> all()
JwtTokenDecorator
sCopyright © 2016–2018. All rights reserved.