Class IDTokenIssueEvent
java.lang.Object
java.util.EventObject
com.nimbusds.openid.connect.provider.spi.events.IDTokenIssueEvent
- All Implemented Interfaces:
Serializable
ID token issue event.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionIDTokenIssueEvent
(Object source, com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet) Deprecated.IDTokenIssueEvent
(Object source, com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet, com.nimbusds.oauth2.sdk.id.Subject localSubject) Creates a new ID token issue event. -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.jwt.JWTClaimsSet
Returns the claims set of the issued JWT.com.nimbusds.oauth2.sdk.id.Subject
Returns the ID token local subject.toString()
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
IDTokenIssueEvent
public IDTokenIssueEvent(Object source, com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet, com.nimbusds.oauth2.sdk.id.Subject localSubject) Creates a new ID token issue event.- Parameters:
source
- The event originator.jwtClaimsSet
- The ID token claims set.localSubject
- The local subject.
-
IDTokenIssueEvent
Deprecated.Creates a new ID token issue event.- Parameters:
source
- The event originator.jwtClaimsSet
- The ID token claims set.
-
-
Method Details
-
getLocalSubject
Returns the ID token local subject. Equals the JWTsub
claim value unless the subject type is pairwise.Use this method if there is a need to get the local (system) subject for an ID token which subject was made pairwise for its audience (OpenID relying party).
- Returns:
- The local subject.
-
getJWTClaimsSet
public com.nimbusds.jwt.JWTClaimsSet getJWTClaimsSet()Returns the claims set of the issued JWT.- Returns:
- The JWT claims set.
-
toString
- Overrides:
toString
in classEventObject
-