Class JWTPreviewTokenDecoder

java.lang.Object
com.broadleafcommerce.data.tracking.core.preview.JWTPreviewTokenDecoder
All Implemented Interfaces:
PreviewTokenDecoder

public class JWTPreviewTokenDecoder extends Object implements PreviewTokenDecoder
A default implementation of the PreviewTokenDecoder that decoded the PreviewToken from a JWT token string.
Author:
Nick Crum (ncrum)
  • Constructor Details

    • JWTPreviewTokenDecoder

      public JWTPreviewTokenDecoder(JWTPreviewTokenDecoderProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper mapper)
      Primary constructor for initializing the decoder
      Parameters:
      properties - the property configuration for the decoder
    • JWTPreviewTokenDecoder

      public JWTPreviewTokenDecoder(com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper mapper)
      Optional constructor if looking to manually configure the decoder using the setters.
  • Method Details