Siteminder C API - cannot access agent

Does anyone know anything about Siteminder C API?

I'm writing some client side code to run on a Solaris server using Siteminder for authentication - this isn't a web app! I have some sample code that I'm plagiarising which uses a "shared secret" string that to access the Siteminder server. However, the team supporting the server side of Siteminder are telling me that it's been updated to use SM v6 which no longer supports "shared secret", so I need advice on configuring my code.

Any guidance appreciated.