Translations:Manual:SessionManager and AuthManager/35/en

The first allows adding additional metadata to be saved with the session, while the second allows you to look at the metadata when a Session is being loaded and if necessary veto its use.