SAML-Toolkits / python3-saml

MIT License
694 stars 309 forks source link

Wrong Signature Documentation for auth.py : get_session_expiration() #225

Closed tbloomer4 closed 3 years ago

tbloomer4 commented 3 years ago
        Returns the SessionNotOnOrAfter from the AuthnStatement.
        :returns: The SessionNotOnOrAfter of the assertion
        :rtype: DateTime|None

However, return type is actually a unix/posix timestamp (int)

Example can be found in the tests here: https://github.com/onelogin/python3-saml/blob/589425d1fbd2161ce2a566dfcb92835a221a3541/tests/src/OneLogin/saml2_tests/auth_test.py#L128