Class IDTokenIssueEvent

java.lang.Object
java.util.EventObject
com.nimbusds.openid.connect.provider.spi.events.IDTokenIssueEvent
All Implemented Interfaces:
Serializable

@Immutable public class IDTokenIssueEvent extends EventObject
ID token issue event.
See Also:
  • 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 public IDTokenIssueEvent(Object source, com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet)
      Deprecated.
      Creates a new ID token issue event.
      Parameters:
      source - The event originator.
      jwtClaimsSet - The ID token claims set.
  • Method Details

    • getLocalSubject

      public com.nimbusds.oauth2.sdk.id.Subject getLocalSubject()
      Returns the ID token local subject. Equals the JWT sub 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

      public String toString()
      Overrides:
      toString in class EventObject