Package io.jans.as.server.model.common
Class CacheGrant
- java.lang.Object
-
- io.jans.as.server.model.common.CacheGrant
-
- All Implemented Interfaces:
Serializable
public class CacheGrant extends Object implements Serializable
- Version:
- November 28, 2018
- Author:
- yuriyz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheGrant()
CacheGrant(AuthorizationGrant grant, io.jans.as.model.configuration.AppConfiguration appConfiguration)
CacheGrant(CIBAGrant grant, io.jans.as.model.configuration.AppConfiguration appConfiguration)
CacheGrant(DeviceCodeGrant grant, io.jans.as.model.configuration.AppConfiguration appConfiguration)
-
Method Summary
-
-
-
Constructor Detail
-
CacheGrant
public CacheGrant()
-
CacheGrant
public CacheGrant(AuthorizationGrant grant, io.jans.as.model.configuration.AppConfiguration appConfiguration)
-
CacheGrant
public CacheGrant(CIBAGrant grant, io.jans.as.model.configuration.AppConfiguration appConfiguration)
-
CacheGrant
public CacheGrant(DeviceCodeGrant grant, io.jans.as.model.configuration.AppConfiguration appConfiguration)
-
-
Method Detail
-
getExpiresIn
public int getExpiresIn()
-
getAuthorizationCodeCreationDate
public Date getAuthorizationCodeCreationDate()
-
getUser
public io.jans.as.common.model.common.User getUser()
-
setUser
public void setUser(io.jans.as.common.model.common.User user)
-
getAuthzDetails
public String getAuthzDetails()
-
setAuthzDetails
public void setAuthzDetails(String authzDetails)
-
getGrantId
public String getGrantId()
-
setGrantId
public void setGrantId(String grantId)
-
getClient
public io.jans.as.common.model.registration.Client getClient()
-
setClient
public void setClient(io.jans.as.common.model.registration.Client client)
-
getAuthenticationTime
public Date getAuthenticationTime()
-
setAuthenticationTime
public void setAuthenticationTime(Date authenticationTime)
-
getAuthorizationCodeString
public String getAuthorizationCodeString()
-
setAuthorizationCodeString
public void setAuthorizationCodeString(String authorizationCodeString)
-
getNonce
public String getNonce()
-
setNonce
public void setNonce(String nonce)
-
getCodeChallenge
public String getCodeChallenge()
-
setCodeChallenge
public void setCodeChallenge(String codeChallenge)
-
getCodeChallengeMethod
public String getCodeChallengeMethod()
-
setCodeChallengeMethod
public void setCodeChallengeMethod(String codeChallengeMethod)
-
getClaims
public String getClaims()
-
setClaims
public void setClaims(String claims)
-
getAcrValues
public String getAcrValues()
-
setAcrValues
public void setAcrValues(String acrValues)
-
getSessionDn
public String getSessionDn()
-
setSessionDn
public void setSessionDn(String sessionDn)
-
asCodeGrant
public AuthorizationCodeGrant asCodeGrant(jakarta.enterprise.inject.Instance<AbstractAuthorizationGrant> grantInstance)
-
asCibaGrant
public CIBAGrant asCibaGrant(jakarta.enterprise.inject.Instance<AbstractAuthorizationGrant> grantInstance)
-
asDeviceCodeGrant
public DeviceCodeGrant asDeviceCodeGrant(jakarta.enterprise.inject.Instance<AbstractAuthorizationGrant> grantInstance)
-
cacheKey
public String cacheKey()
-
getAuthReqId
public String getAuthReqId()
-
setAuthReqId
public void setAuthReqId(String authReqId)
-
isTokensDelivered
public boolean isTokensDelivered()
-
setTokensDelivered
public void setTokensDelivered(boolean tokensDelivered)
-
getDeviceCode
public String getDeviceCode()
-
-