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 Link icon

    • JwtTokenDecorator Link icon

      public JwtTokenDecorator()
  • Method Details Link icon

    • decorate Link icon

      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 Link icon

      public static ExtensionList<JwtTokenDecorator> all()
      Returns all the registered JwtTokenDecorators