Interface Claim

All Superinterfaces:
Serializable

public interface Claim extends Serializable
This class represents OAuth 2.0 claim.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the claim name
    Get the claim value
    Get the claim values
    boolean
    Check whether the claim is essential or voluntary
  • Method Details

    • getName

      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

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

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