Interface Token
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Subinterfaces:
TokenV2
- All Known Implementing Classes:
KeystoneToken
public interface Token extends ModelEntity
A token which is used during authentication allowing follow up calls to only supply the assigned token within the header avoiding re-authentication- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetExpires()The expiring date/time of this tokenStringgetId()The generated token ID created by the Identity Restful serviceAuthVersiongetVersion()
-
-
-
Method Detail
-
getId
String getId()
The generated token ID created by the Identity Restful service- Returns:
- the token identifier
-
getExpires
Date getExpires()
The expiring date/time of this token- Returns:
- the expire date/time
-
getVersion
AuthVersion getVersion()
- Returns:
- the authentication version of this token
-
-