Interface Claim

  • All Superinterfaces:
    java.io.Serializable

    public interface Claim
    extends java.io.Serializable
    This class represents OAuth 2.0 claim.
    • Method Detail

      • getName

        java.lang.String getName()
        Get the claim name
        Returns:
        the claim name
      • isEssential

        boolean isEssential()
        Check whether the claim is essential or voluntary
        Returns:
        true when the claim is essential, false otherwise
      • getValue

        java.lang.String getValue()
        Get the claim value
        Returns:
        claim value if any, otherwise null
      • getValues

        java.util.List<java.lang.String> getValues()
        Get the claim values
        Returns:
        claim values if any, otherwise null