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 SummaryFields Modifier and Type Field Description StringcorsDomainListComma-separated list of all allowed CORS domains (exact match including subdomain portions, but excluding protocol).intexternalHttpPortThe HTTP port to listen on for external traffic, or -1 to disable (APISERVERPARAMS_EXTERNALHTTPPORT)intinternalHttpPortThe HTTP port to listen on for internal traffic, or -1 to disable (APISERVERPARAMS_INTERNALHTTPPORT)intopenWifiAuthCacheSizeThe maximum cache size for OpenWiFi tokens (APISERVERPARAMS_OPENWIFIAUTHCACHESIZE)booleanuseOpenWifiAuthEnable OpenWiFi authentication via tokens (external) and API keys (internal) (APISERVERPARAMS_USEOPENWIFIAUTH)
 - 
Constructor SummaryConstructors Constructor Description ApiServerParams()
 
- 
- 
- 
Field Detail- 
internalHttpPortpublic int internalHttpPort The HTTP port to listen on for internal traffic, or -1 to disable (APISERVERPARAMS_INTERNALHTTPPORT)
 - 
externalHttpPortpublic int externalHttpPort The HTTP port to listen on for external traffic, or -1 to disable (APISERVERPARAMS_EXTERNALHTTPPORT)
 - 
corsDomainListpublic 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)
 - 
useOpenWifiAuthpublic boolean useOpenWifiAuth Enable OpenWiFi authentication via tokens (external) and API keys (internal) (APISERVERPARAMS_USEOPENWIFIAUTH)
 - 
openWifiAuthCacheSizepublic int openWifiAuthCacheSize The maximum cache size for OpenWiFi tokens (APISERVERPARAMS_OPENWIFIAUTHCACHESIZE)
 
- 
 
-