Class Claim

java.lang.Object
org.forgerock.oauth.clients.oidc.Claim
org.forgerock.openidconnect.Claim

@Deprecated(since="8.0.0", forRemoval=true) @SupportedAll public class Claim extends Claim
Deprecated, for removal: This API element is subject to removal in a future version.
use Claim
Models an OpenID Connect claim that has been requested in an authorize request.
  • Constructor Details

    • Claim

      @Deprecated(since="8.0.0", forRemoval=true) public Claim(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new Claim.
      Parameters:
      name - the name of the claim
    • Claim

      @Deprecated(since="8.0.0", forRemoval=true) public Claim(String name, Object value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new claim with single requested value.
      Parameters:
      name - the name of the claim
      value - the requested value
    • Claim

      @Deprecated(since="8.0.0", forRemoval=true) public Claim(String name, List<Object> values)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new claim with multiple requested values.
      Parameters:
      name - the name of the claim
      values - the requested values
    • Claim

      @Deprecated(since="8.0.0", forRemoval=true) public Claim(String name, List<Object> values, boolean essential)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new claim with multiple requested values.
      Parameters:
      name - the name of the claim
      values - the requested values
      essential - whether this claim is deemed essential