Creates instance of csw.aas.http.SecurityDirectives using provided configurations and resolves auth server url using location service
Creates instance of csw.aas.http.SecurityDirectives using provided configurations and resolves auth server url using location service
Value parameters
config
Config object provided
enableAuth
It will ignore disabled key from config. This can be used by cli apps which wants to enable/disable auth based on whether they are started with auth enabled or auth disabled rather than relying on config
locationService
LocationService instance used to resolve auth server url (blocking call)