Interface IdentityToken
-
public interface IdentityTokenAn Identity token is a security token that is issued in an authentication flow process.- Author:
- jGauravGupta, Rudy De Busscher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>getClaims()JwtClaimsgetJwtClaims()Claims of this tokenStringgetToken()booleanisExpired()Checks if the Identity Token is expired.
-
-
-
Method Detail
-
getToken
String getToken()
- Returns:
- the identity token
-
getJwtClaims
JwtClaims getJwtClaims()
Claims of this token- Returns:
- claims of this token
-
isExpired
boolean isExpired()
Checks if the Identity Token is expired.- Returns:
true, if identity token is expired or it will be expired in the next X milliseconds configured by user.
-
-