Package de.brifle.sdk
Class ConnectorSession
java.lang.Object
de.brifle.sdk.ConnectorSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchecks if the authToken is expiredvoidsetAuthToken(String authToken, Date renewDate) sets the authToken and the renewDatevoidsetTenantId(String tenantId)
-
Constructor Details
-
ConnectorSession
-
-
Method Details
-
requiresAuthToken
public boolean requiresAuthToken()checks if the authToken is expired- Returns:
- true if the authToken is expired
-
setAuthToken
sets the authToken and the renewDate- Parameters:
authToken- the authTokenrenewDate- the renewDate
-
getAuthToken
- Returns:
- the authToken
-
getTenantId
- Returns:
- the tenantId
-
setTenantId
- Parameters:
tenantId-
-