Package com.zendesk.sdk.model
Class SdkConfiguration
- java.lang.Object
-
- com.zendesk.sdk.model.SdkConfiguration
-
public class SdkConfiguration extends java.lang.Object
This class models the basic configuration which was loaded from the backend.
-
-
Constructor Summary
Constructors Constructor and Description SdkConfiguration(AccessToken accessToken, SafeMobileSettings mobileSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description AccessToken
getAccessToken()
Gets anAccessToken
of the configured account.java.lang.String
getBearerAuthorizationHeader()
Gets the access token formatted as bearer token.SafeMobileSettings
getMobileSettings()
Gets theSafeMobileSettings
of the configured account.
-
-
-
Constructor Detail
-
SdkConfiguration
public SdkConfiguration(AccessToken accessToken, SafeMobileSettings mobileSettings)
- Parameters:
accessToken
- AnAccessToken
mobileSettings
-SafeMobileSettings
-
-
Method Detail
-
getAccessToken
public AccessToken getAccessToken()
Gets anAccessToken
of the configured account.- Returns:
- The
AccessToken
-
getMobileSettings
public SafeMobileSettings getMobileSettings()
Gets theSafeMobileSettings
of the configured account.- Returns:
- The
SafeMobileSettings
-
getBearerAuthorizationHeader
public java.lang.String getBearerAuthorizationHeader()
Gets the access token formatted as bearer token. In this format it could be used as header field for authenticated network request.- Returns:
- The access token as bearer token.
-
-