def get_authn_statements(self, name_id, session_index=None,
                             requested_context=None):
        """

        :param name_id:
        :param session_index:
        :param requested_context:
        :return:
        """
        return [k.authn_statement for k in self.get_assertions_by_subject(
            name_id, session_index, requested_context)]
def get_authn_statements ( self , name_id , session_index = None , requested_context = None ) : return [ k . authn_statement for k in self . get_assertions_by_subject ( name_id , session_index , requested_context ) ]
:param name_id:
        :param session_index:
        :param requested_context:
        :return: