Class RequiredClaims

java.lang.Object
com.inrupt.client.uma.RequiredClaims

public class RequiredClaims extends Object
A class representing the required claims that are part of an UMA interactive exchange.
  • Constructor Details

    • RequiredClaims

      public RequiredClaims(Map<String,Object> data)
      Create an object representing an UMA required_claims data structure.
      Parameters:
      data - the data formatted as a Map
  • Method Details

    • getClaimTokenFormats

      public Set<String> getClaimTokenFormats()
      Get a set of required claim_token_format values.
      Returns:
      the required claim token formats
    • getIssuers

      public Set<String> getIssuers()
      Get a set of required issuer values.
      Returns:
      the required issuer values
    • getClaimType

      public Optional<String> getClaimType()
      Get an optional claim_type value.
      Returns:
      an optional claim type value
    • getFriendlyName

      public Optional<String> getFriendlyName()
      Get an optional friendly_name value.
      Returns:
      an optional friendly name
    • getName

      public Optional<String> getName()
      Get an optional name value.
      Returns:
      an optional name
    • getProperty

      public Optional<String> getProperty(String name)
      Get an arbitrary String-based data property.
      Parameters:
      name - the property name
      Returns:
      a data property, if present
    • getProperties

      public Set<String> getProperties(String name)
      Get an arbitrary Array-based data property.
      Parameters:
      name - the property name
      Returns:
      a data properties