apereo / dotnet-cas-client

Apereo .NET CAS Client
Apache License 2.0
233 stars 176 forks source link

Support reading extra_attributes #15

Open zakshay opened 10 years ago

zakshay commented 10 years ago

A CAS server may pass extra_attributes (like full name) for the user being logged in. Looks like currently there is no way for this client to read that.

Is that correct?

zakshay commented 10 years ago

@serac @scottt732 Any thoughts on this?

zakshay commented 10 years ago

For example other CAS libraries, like the standard Ruby one would do this.

zakshay commented 10 years ago

More specifically the cas:attributes.

If the library doesn't parse it, is there a handle to the POST body XML somewhere so that the client app can parse it themselves.

serac commented 8 years ago

The recommended way to consume attributes is via the SAML 1.1 protocol, which this client (and many others) supports. See http://jasig.github.io/cas/4.2.x/protocol/SAML-Protocol.html.