Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Description

@tbloomer4
        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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions