Skip to content

oidcext:OIDCString

jalauros edited this page Oct 10, 2017 · 31 revisions

OIDCString encoder encodes an IdPAttribute with simple string values as a JSON object with string value. If IdPAttribute has multiple string values they are catenated to a single string value with space as delimeter.

Schema Name and Location

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/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

Example

<AttributeEncoder xsi:type="oidcext:OIDCString" name="affiliation"/>