Class PreviewTokenAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.core.preview.autoconfigure.PreviewTokenAutoConfiguration
@Configuration
@EnableConfigurationProperties(JWTPreviewTokenDecoderProperties.class)
public class PreviewTokenAutoConfiguration
extends Object
Auto-configuration to instrument the services to support the decoding and verification of preview
tokens.
- Author:
- Nick Crum (ncrum)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpreviewTokenDecoder
(JWTPreviewTokenDecoderProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Constructor Details
-
PreviewTokenAutoConfiguration
public PreviewTokenAutoConfiguration()
-
-
Method Details
-
previewTokenDecoder
@Bean @ConditionalOnMissingBean public PreviewTokenDecoder previewTokenDecoder(JWTPreviewTokenDecoderProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper mapper)
-