How is the \Magento\Security\Model\AdminSessionsManager::createNewSession() implemented and used?

See also: