Package com.facebook.openwifi.rrm
Class RRMConfig.ModuleConfig.ApiServerParams
- java.lang.Object
-
- com.facebook.openwifi.rrm.RRMConfig.ModuleConfig.ApiServerParams
-
- Enclosing class:
- RRMConfig.ModuleConfig
public class RRMConfig.ModuleConfig.ApiServerParams extends Object
ApiServer parameters.
-
-
Field Summary
Fields Modifier and Type Field Description String
corsDomainList
Comma-separated list of all allowed CORS domains (exact match including subdomain portions, but excluding protocol).int
externalHttpPort
The HTTP port to listen on for external traffic, or -1 to disable (APISERVERPARAMS_EXTERNALHTTPPORT
)int
internalHttpPort
The HTTP port to listen on for internal traffic, or -1 to disable (APISERVERPARAMS_INTERNALHTTPPORT
)int
openWifiAuthCacheSize
The maximum cache size for OpenWiFi tokens (APISERVERPARAMS_OPENWIFIAUTHCACHESIZE
)boolean
useOpenWifiAuth
Enable OpenWiFi authentication via tokens (external) and API keys (internal) (APISERVERPARAMS_USEOPENWIFIAUTH
)
-
Constructor Summary
Constructors Constructor Description ApiServerParams()
-
-
-
Field Detail
-
internalHttpPort
public int internalHttpPort
The HTTP port to listen on for internal traffic, or -1 to disable (APISERVERPARAMS_INTERNALHTTPPORT
)
-
externalHttpPort
public int externalHttpPort
The HTTP port to listen on for external traffic, or -1 to disable (APISERVERPARAMS_EXTERNALHTTPPORT
)
-
corsDomainList
public String corsDomainList
Comma-separated list of all allowed CORS domains (exact match including subdomain portions, but excluding protocol). If empty, enable CORS for all origins. (APISERVERPARAMS_CORSDOMAINLIST
)
-
useOpenWifiAuth
public boolean useOpenWifiAuth
Enable OpenWiFi authentication via tokens (external) and API keys (internal) (APISERVERPARAMS_USEOPENWIFIAUTH
)
-
openWifiAuthCacheSize
public int openWifiAuthCacheSize
The maximum cache size for OpenWiFi tokens (APISERVERPARAMS_OPENWIFIAUTHCACHESIZE
)
-
-