Class TokenCORSResponseInterceptor

java.lang.Object
org.restheart.security.interceptors.TokenCORSResponseInterceptor
All Implemented Interfaces:
ConfigurablePlugin, ExchangeTypeResolver<MongoRequest,​MongoResponse>, Interceptor<MongoRequest,​MongoResponse>, MongoInterceptor, Plugin

public class TokenCORSResponseInterceptor extends Object implements MongoInterceptor
helper interceptor to add token headers to Access-Control-Expose-Headers to handle CORS request
Author:
Andrea Di Cesare <andrea@softinstigate.com>