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
  • Constructor Details

    • JwtTokenDecorator

      public JwtTokenDecorator()
  • Method Details

    • decorate

      public abstract void decorate(JwtToken token)
      Called right before JwtToken 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 registered JwtTokenDecorators