My goal is to allow console based smartcard PIN auth for an existing AWS/ADFS integration (MFA i.e. multi-factor authorization).
Normally, you sign on through browser, but same is technically possible only via console I suppose.
I have found so far two software pieces which implement two parts of my goal, both written in Python.
1) Authenticate user access to the smartcard
https://github.com/LudovicRousseau/PyKCS11
2) Missing link, the actual purpose of this question: use ADFS API to authenticate user for the SAML protocol
3) Proceed with SAML based sign in to AWS and get temporary security credentials aka STS credentials.
https://pypi.org/project/aws-adfs/
So, where to find ADFS API specs for the step 3 above? Is there maybe also a Python SDK for an ADFS client?