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

Mike Jones Michael.Jones at microsoft.com
Tue Jul 5 20:25:27 UTC 2011


This is checked into SVN and posted at http://openid.net/specs/openid-connect-framework-1_0.html (after some minor edits).

                                                                -- Mike

From: openid-specs-ab-bounces at lists.openid.net [mailto:openid-specs-ab-bounces at lists.openid.net] On Behalf Of Nat Sakimura
Sent: Tuesday, July 05, 2011 7:33 AM
To: openid-specs-ab at lists.openid.net
Subject: [Openid-specs-ab] BCP47 tags for claims request


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:
null
This indicates that this claim is being requested in the default manner. In particular, this is a required claim. OR
A JSON Object
This 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:
opt
If 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/00354e4e/attachment.html>


More information about the Openid-specs-ab mailing list