1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-06-10 02:50:20 +00:00

BREAKING CHANGE: boolean allowInsecure is replaced configuration of Https Agent

This commit is contained in:
Saad Jutt
2021-09-28 16:02:12 +05:00
parent f964bcef9e
commit f0ecfa57e5
8 changed files with 57 additions and 26 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import { ServerType } from '@sasjs/utils/types'
import { HttpsAgent } from './HttpsAgent'
/**
* Specifies the configuration for the SASjs instance - eg where and how to
@@ -58,7 +59,7 @@ export class SASjsConfig {
* When set to `true`, the adapter will allow requests to SAS servers that use a self-signed SSL certificate.
* Changing this setting is not recommended.
*/
allowInsecureRequests = false
httpsAgentConfiguration: HttpsAgent = {}
/**
* Supported login mechanisms are - Redirected and Default
*/