Using the REST API with SAML?

Hi, our installation (8.0.1) uses SAML (Ping Identity) for authentication. Is there any way of using the REST API with SAML logins? I'd even be happy to do the login with a web scraper and then get the tokens in that way.