Class Authentication
- java.lang.Object
-
- com.cheetahdigital.corekit.models.data.BaseData
-
- com.cheetahdigital.corekit.authentication.core.model.Authentication
-
public class Authentication extends BaseData
Cheetah Loyalty Authentication Data Model
-
-
Constructor Summary
Constructors Constructor Description Authentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessToken()
long
getCreatedAt()
long
getExpiresIn()
java.lang.String
getRefreshToken()
Settings
getSettings()
java.lang.String
getTokenType()
boolean
isThirdPartyAuth()
boolean
isVisitor()
void
setAccessToken(java.lang.String accessToken)
void
setCreatedAt(long createdAt)
void
setExpiresIn(long expiresIn)
void
setRefreshToken(java.lang.String refreshToken)
void
setResetPassword(boolean resetPassword)
void
setSettings(Settings settings)
void
setThirdPartyAuth(boolean thirdPartyAuth)
void
setTokenType(java.lang.String tokenType)
void
setVisitor(boolean visitor)
boolean
shouldResetPassword()
-
Methods inherited from class com.cheetahdigital.corekit.models.data.BaseData
getId, getIntegrationId, setId, setIntegrationId
-
-
-
-
Method Detail
-
isThirdPartyAuth
public boolean isThirdPartyAuth()
-
setThirdPartyAuth
public void setThirdPartyAuth(boolean thirdPartyAuth)
-
isVisitor
public boolean isVisitor()
-
setVisitor
public void setVisitor(boolean visitor)
-
getAccessToken
public java.lang.String getAccessToken()
- Returns:
- The accessToken
-
setAccessToken
public void setAccessToken(java.lang.String accessToken)
- Parameters:
accessToken
- The access_token
-
getTokenType
public java.lang.String getTokenType()
- Returns:
- The tokenType
-
setTokenType
public void setTokenType(java.lang.String tokenType)
- Parameters:
tokenType
- The token_type
-
getExpiresIn
public long getExpiresIn()
- Returns:
- The expiresIn
-
setExpiresIn
public void setExpiresIn(long expiresIn)
- Parameters:
expiresIn
- The expires_in
-
getRefreshToken
public java.lang.String getRefreshToken()
- Returns:
- The refreshToken
-
setRefreshToken
public void setRefreshToken(java.lang.String refreshToken)
- Parameters:
refreshToken
- The refresh_token
-
getCreatedAt
public long getCreatedAt()
-
setCreatedAt
public void setCreatedAt(long createdAt)
-
shouldResetPassword
public boolean shouldResetPassword()
-
setResetPassword
public void setResetPassword(boolean resetPassword)
-
getSettings
public Settings getSettings()
-
setSettings
public void setSettings(Settings settings)
-
-