Class JwtTokenDecorator

  • All Implemented Interfaces:
    ExtensionPoint

    public abstract class JwtTokenDecorator
    extends Object
    implements ExtensionPoint
    Participates in the creation of JwtToken
    Author:
    Vivek Pandey
    • Constructor Detail

      • JwtTokenDecorator

        public JwtTokenDecorator()
    • Method Detail

      • 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