Class AccessToken
java.lang.Object
net.officefloor.web.jwt.authority.AccessToken
Access token.
- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongObtains the expire time in seconds.getToken()Obtains the token.
-
Constructor Details
-
AccessToken
Instantiate.- Parameters:
token- Token.expireTime- Expire time in seconds.
-
-
Method Details
-
getToken
Obtains the token.- Returns:
- Token.
-
getExpireTime
public long getExpireTime()Obtains the expire time in seconds.- Returns:
- Expire time in seconds.
-