Top Description Methods
jakarta.security.enterprise.identitystore.openid

public Interface IdentityToken

Imports
java.util.Map

An Identity token is a security token that is issued in an authentication flow process.
Authors
jGauravGupta, Rudy De Busscher

Method Summary

Modifier and TypeMethod and Description
public Map<String, Object>

Returns:

the identity token's claims that was received from the OpenId Connect provider
getClaims
()

public JwtClaims

Returns:

claims of this token
getJwtClaims
()

Claims of this token

public String

Returns:

the identity token
getToken
()

public boolean

Returns:

true, if identity token is expired or it will be expired in the next X milliseconds configured by user.
isExpired
()

Checks if the Identity Token is expired.

Method Detail

getClaimsback to summary
public Map<String, Object> getClaims()
Returns:Map<String, Object>

the identity token's claims that was received from the OpenId Connect provider

getJwtClaimsback to summary
public JwtClaims getJwtClaims()

Claims of this token

Returns:JwtClaims

claims of this token

getTokenback to summary
public String getToken()
Returns:String

the identity token

isExpiredback to summary
public boolean isExpired()

Checks if the Identity Token is expired.

Returns:boolean

true, if identity token is expired or it will be expired in the next X milliseconds configured by user.