Package com.cheetahdigital.corekit.sdk
Class SdkConfig
- java.lang.Object
-
- com.cheetahdigital.corekit.sdk.SdkConfig
-
public class SdkConfig extends java.lang.Object
This 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 class
SdkConfig.Builder
static class
SdkConfig.UserAgentStringBuilder
Helper 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 ControllerConfig
getControllerConfig()
Endpoint
getEndpoint()
java.lang.String
getEndpointCustom()
AuthenticatorService.LoginListener
getLoginListener()
Sdk.LogoutListener
getLogoutListener()
java.lang.String
getUserAgentString()
boolean
isLoggingEnabled()
void
setEndpointCustom(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()
-
-