Package com.cheetahdigital.corekit.sdk
Class SdkConfig
- java.lang.Object
-
- com.cheetahdigital.corekit.sdk.SdkConfig
-
public class SdkConfig extends java.lang.ObjectThis class contains the Configuration parameters forSdk. The following parameters can be set fromSdkConfig.Builder:Endpoint- User-Agent String - follows the format <app name>/<version> Android/<os version>/<device model>. See
SdkConfig.UserAgentStringBuilder TokenRevokedInterceptor.TokenRevokedListener- Logging Enable/Disable Flag
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSdkConfig.Builderstatic classSdkConfig.UserAgentStringBuilderHelper class to generate the User-Agent String which follows the format: <app name>/<app version> <os>/<os version>/<device model> e.g.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControllerConfiggetControllerConfig()EndpointgetEndpoint()java.lang.StringgetEndpointCustom()AuthenticatorService.LoginListenergetLoginListener()Sdk.LogoutListenergetLogoutListener()java.lang.StringgetUserAgentString()booleanisLoggingEnabled()voidsetEndpointCustom(java.lang.String mEndpointCustom)
-
-
-
Method Detail
-
getEndpoint
public Endpoint getEndpoint()
-
getUserAgentString
public java.lang.String getUserAgentString()
-
isLoggingEnabled
public boolean isLoggingEnabled()
-
getLogoutListener
public Sdk.LogoutListener getLogoutListener()
-
getLoginListener
public AuthenticatorService.LoginListener getLoginListener()
-
getEndpointCustom
public java.lang.String getEndpointCustom()
-
setEndpointCustom
public void setEndpointCustom(java.lang.String mEndpointCustom)
-
getControllerConfig
public ControllerConfig getControllerConfig()
-
-