[Openid-specs-ab] BCP47 tags for claims request

Nat Sakimura sakimura at gmail.com
Tue Jul 5 14:33:26 UTC 2011


Hi. Here is a text for framework 3.1.1 for specifying BCP47 language tag for
the request.


The "clm" member is a JSON object with a member for each requested claim.
The member names are the requested claim names. The member values may be
either:

nullThis indicates that this claim is being requested in the default manner.
In particular, this is a required claim. ORA JSON ObjectThis is used to
provide additional information about the claim being requested.

The claims may be represented in multiple languages and scripts. To specify
the languages and scripts for the claim request,
BCP47<http://openid.net/specs/openid-connect-userinfo-1_0.html#RFC5646>
[RFC5646]
language tags MUST be added to each member names delimited by a "#". e.g.,
family_name#ja-Kana-JP for expressing Family Name in Katakana in Japanese,
which is commonly used to index and represent the phonetics of the Kanji
representation of the same represented as family_name#ja-Hani-JP.

All members of the "clm" object are OPTIONAL.

The members of the JSON object value following a claim name defined by this
specification are:

optIf this is an optional claim, this member's value MUST be true, else, if
present, its value MUST be false, which indicates that it is a required
claim. If it is not present, it is a required claim.
lang
The default language and script of the entire claim request represented as *
BCP47* language tags. Defaults to en.

-- 
Nat Sakimura (=nat)
http://www.sakimura.org/en/
http://twitter.com/_nat_en
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20110705/e2512e94/attachment.html>


More information about the Openid-specs-ab mailing list