Package com.networknt.router
Class OAuthServerConfig
- java.lang.Object
-
- com.networknt.router.OAuthServerConfig
-
public class OAuthServerConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getClientCredentials()Map<String,Object>getMappedConfig()StringgetTokenServiceId()booleanisEnabled()booleanisPassThrough()static OAuthServerConfigload()static OAuthServerConfigload(String configName)voidreload()voidsetPassThrough(boolean passThrough)voidsetTokenServiceId(String tokenServiceId)
-
-
-
Field Detail
-
CONFIG_NAME
public static final String CONFIG_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
load
public static OAuthServerConfig load()
-
load
public static OAuthServerConfig load(String configName)
-
reload
public void reload()
-
isEnabled
public boolean isEnabled()
-
isPassThrough
public boolean isPassThrough()
-
setPassThrough
public void setPassThrough(boolean passThrough)
-
getTokenServiceId
public String getTokenServiceId()
-
setTokenServiceId
public void setTokenServiceId(String tokenServiceId)
-
-