Package com.zendesk.sdk.model
Class SdkConfiguration
- java.lang.Object
-
- com.zendesk.sdk.model.SdkConfiguration
-
public class SdkConfiguration extends java.lang.ObjectThis 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 AccessTokengetAccessToken()Gets anAccessTokenof the configured account.java.lang.StringgetBearerAuthorizationHeader()Gets the access token formatted as bearer token.SafeMobileSettingsgetMobileSettings()Gets theSafeMobileSettingsof the configured account.
-
-
-
Constructor Detail
-
SdkConfiguration
public SdkConfiguration(AccessToken accessToken, SafeMobileSettings mobileSettings)
- Parameters:
accessToken- AnAccessTokenmobileSettings-SafeMobileSettings
-
-
Method Detail
-
getAccessToken
public AccessToken getAccessToken()
Gets anAccessTokenof the configured account.- Returns:
- The
AccessToken
-
getMobileSettings
public SafeMobileSettings getMobileSettings()
Gets theSafeMobileSettingsof 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.
-
-