Synchronization of KeycloakSession with Client Session on SAML Protocol

I hope to extend the KeycloakSession lifetime of SAML user when I extend the session lifetime of SAML client.
I have tried with Keycloak Admin REST API, but there is nothing about SAML, only OpenID-connect.
Has anyone had any experience doing this? Thanks.