TencentWSRD / connect-cas2

NodeJS implement of CAS(Central Authentication Service) client.
MIT License
107 stars 44 forks source link

Implement parsing of extra attributes #16

Open dlobsinger opened 6 years ago

dlobsinger commented 6 years ago

Some CAS servers may return attributes as YAML wrapped in CDATA tags. Passing a YAML parser to the xml2js valueProcessors option we can return these attributes correctly as their own properties.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.285% when pulling d9d3b5ee36f2825cfa248218085e2b6331d8102d on dlobsinger:master into 12a37bef12f28b601df6a331576b03afd9ad31bc on TencentWSRD:master.