This class represents a new Slsy singleton for you to use in your Oak application as a middleware. Slsy is designed to handle HTTP security headers inside your Oak application.
Interface for the crossdomain middleware options. By default, the 'Cross-Origin-Resource-Policy' header will be set to 'none'.
Interface for the dnsPrefetchControl middleware options.
Interface for the expectCt middleware options. By default, the 'Expect-CT' header will be set to 'maxAge=0'
Interface for the expectHeader middleware options. By default, the 'Expected-Header' header will not be set.
Interface for the featurePolicy middleware options. By default, the 'Feature-Policy' header will not be set.
Interface for the frameguard middleware options. By default, the 'X-Frame-Options' header will not be set.
Interface for the hidePoweredBy middleware options. By default, the 'X-Powered-By' header will not be set.
Interface for the hsts middleware options. By default, the 'Strict-Transport-Security' header will not be set.
Interface for the referrerPolicy middleware options. By default, the 'Referrer-Policy' header will be set to 'no-referrer'.
Interface for the SLSy middleware options.
Interface for the X-XSS-Protection middleware options. By default, the 'X-XSS-Protection' header will be set to '1; mode=block'.
Usage
import * as mod from ".";