OIDC string transcoder properties

Cantor, Scott cantor.2 at osu.edu
Tue Apr 5 19:53:37 UTC 2022


On 4/5/22, 3:43 PM, "users on behalf of Wessel, Keith via users" <users-bounces at shibboleth.net on behalf of users at shibboleth.net> wrote:

>    Is there also an oidc.asArray property and others that mirror the attributes allowed for the OIDC string
> encoder?

Everything that was originally there had to be ported over. The main set of conversion properties are declared on the interface. The asObject one is there too, but there will eventually be a JSON attribute value type and proper transcoder implemented to handle that directly.

    /** Whether to encode data to JSON array. */
   static final String PROP_ASARRAY = "oidc.asArray";

    /** Whether to encode data to JSON integer. */
   static final String PROP_ASINTEGER = "oidc.asInteger";

    /** Whether to encode data to JSON integer. */
    static final String PROP_ASBOOLEAN = "oidc.asBoolean";

    /** Separator to use when not encoding multiple values to array. */
    static final String PROP_STRING_DELIMITER = "oidc.stringDelimiter";
    
    /** Whether to decode JSON Numbers to IdP Attribute Strings. */
    static final String PROP_NUMBER_AS_STRING = "oidc.numberAsString";
    
    /** Whether to decode JSON Booleans to IdP Attribute Strings. */
    static final String PROP_BOOLEAN_AS_STRING = "oidc.booleanAsString";
    
    /** Whether to decode a JSON Array into a serialized JSON string. */
    static final String PROP_ARRAY_AS_STRING = "oidc.arrayAsString";

-- Scott




More information about the users mailing list