The SimpleSAML_Session::setAttribute() method has been long deprecated and it is now deleted. It is no longer possible to push changes into the data stored during login, including attributes, so we need an alternative. Here we're pushing the updated attributes into the data storage of the session. This means every time we want to fetch the attributes, we also need to check that data storage to see if there's updated attributes in the current session.
The SimpleSAML_Session::setAttribute() method has been long deprecated and it is now deleted. It is no longer possible to push changes into the data stored during login, including attributes, so we need an alternative. Here we're pushing the updated attributes into the data storage of the session. This means every time we want to fetch the attributes, we also need to check that data storage to see if there's updated attributes in the current session.