Package io.jans.as.server.model.common
Class TxToken
- java.lang.Object
-
- io.jans.as.server.model.common.AbstractToken
-
- io.jans.as.server.model.common.TxToken
-
- All Implemented Interfaces:
io.jans.orm.model.base.Deletable
,Serializable
public class TxToken extends AbstractToken
- Author:
- Yuriy Z
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.as.model.common.TokenType
getTokenType()
Returns theTokenType
.void
setTokenType(io.jans.as.model.common.TokenType tokenType)
Sets theTokenType
-
Methods inherited from class io.jans.as.server.model.common.AbstractToken
checkExpired, checkExpired, getCode, getCreationDate, getDpop, getExpirationDate, getExpiresIn, getHash, getReferenceId, getSessionDn, getStatusListIndex, getTtl, getX5ts256, isDeletable, isExpired, isRevoked, isValid, resetTtlFromExpirationDate, setCode, setCreationDate, setDeletable, setDpop, setExpirationDate, setExpired, setReferenceId, setRevoked, setSessionDn, setStatusListIndex, setX5ts256
-
-
-
-
Constructor Detail
-
TxToken
public TxToken(int lifeTime)
Constructs an transaction token.
When created, a token is valid for a given lifetime, and after this period of time, it will be marked as expired automatically by a background process.
When required, the token can be marked as revoked.
- Parameters:
lifeTime
- The life time of the token.
-
-