Class CommonClaimsSet

java.lang.Object
com.nimbusds.openid.connect.sdk.claims.ClaimsSet
com.nimbusds.openid.connect.sdk.claims.CommonClaimsSet
All Implemented Interfaces:
net.minidev.json.JSONAware
Direct Known Subclasses:
CommonFederationClaimsSet, IDTokenClaimsSet, LogoutTokenClaimsSet, TrustMarkClaimsSet

public abstract class CommonClaimsSet extends ClaimsSet
Common claims set.
  • Field Details

  • Constructor Details

    • CommonClaimsSet

      protected CommonClaimsSet()
      Creates a new empty common claims set.
    • CommonClaimsSet

      protected CommonClaimsSet(net.minidev.json.JSONObject jsonObject)
      Creates a new common claims set from the specified JSON object.
      Parameters:
      jsonObject - The JSON object. Must not be null.
  • Method Details

    • getStandardClaimNames

      public static Set<String> getStandardClaimNames()
      Gets the names of the standard top-level claims.
      Returns:
      The names of the standard top-level claims (read-only set).
    • getSubject

      public Subject getSubject()
      Gets the subject. Corresponds to the sub claim.
      Returns:
      The subject.
    • getIssueTime

      public Date getIssueTime()
      Gets the issue time. Corresponds to the iss claim.
      Returns:
      The issue time, null if not specified.