-
Notifications
You must be signed in to change notification settings - Fork 7
oidcext:OIDCByte
jalauros edited this page Oct 23, 2017
·
12 revisions
OIDCBytencoder encodes an IdPAttribute with binary values as a JSON object with Base64 string value. If IdPAttribute has multiple binary values the resulting Base64 strings are catenated to a single string value with space as delimeter.
This xsi:type is defined by the org.geant.idpextension.oidc.attribute.encoder schema, which is located at https://github.com/CSCfi/shibboleth-idp-oidc-extension/blob/master/idp-oidc-extension-impl/src/main/resources/schema/idp-oidc-extension-attribute-encoder.xsd and used by the reference installation from classpath:/schema/idp-oidc-extension-attribute-encoder.xsd
- asInt, present value as a JSON integer. Default value is false.
- asArray, set values to JSON Array. Default value is false.
- stringDelimiter, delimiter used when catenating multiple values to single string. Default is " ".
<AttributeEncoder xsi:type="oidcext:OIDCBase64" name="logo"/>