Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Value

Description

"http://c2.io/claims"

Array of one or more Claim objects

A set of claims.

}

For example:

Code Block
{
  "http://c2.io/claims": [
    {...},
    {...}
  ]
}

...

Name

Value

Description

"type"

"claimURL"

The identifying URL of the claim format being requested.

"issuer"
(optional)

"URL"
or
"(URL1|URL2)"
or
"*"

Constraint on the value of the issuer of a supplied claim. If absent, it is acceptable for the corresponding claim to supply no issuer. (The presence of an issuer value in a supplied claim has additional implications, as noted below.)

"claimURLvalue"
(optional)

Scalar value, array, or object, potentially with embedded option and/or wildcard conventions

The value MUST conform to the claims-requested format identified by this URL. If absent, the requested claim MUST have a non-null string value Object containing attributes that are specific to the claim type.

}

For example:

Code Block
{
  "http://c2.io/claims-requested": [
    {
      "type": "{http://www.example.com/ABC"},
     {"http://www.example.com/claimsformats/ABC "value": {
     {   "param": 18
      }
    }
  ]
}

This example requests a claim conforming to the http://www.example.com/claimsformats/ABC format, whose value is an object that must contain at least a member called param that has a number value of 18.

...