Module jakarta.security
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 java.util.Map<java.lang.String,java.lang.Object>getClaims()JwtClaimsgetJwtClaims()Claims of this tokenjava.lang.StringgetToken()booleanisExpired()Checks if the Identity Token is expired.
-
-
-
Method Detail
-
getToken
java.lang.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.
-
getClaims
java.util.Map<java.lang.String,java.lang.Object> getClaims()
- Returns:
- the identity token's claims that was received from the OpenId Connect provider
-
-