How is the Magento Marketplace authentication implemented on a backend Component Manager screen?

«Public Access Key» field

«Private Access Key» field

«Sign In» button

saveAuthJson() function

\Magento\Setup\Controller\Marketplace::saveAuthJsonAction()

\Magento\Setup\Model\MarketplaceManager::checkCredentialsAction()

See also:

There is no more «Component Manager» in Magento 2.2: it has been replaced by «Extension Manager» and «Module Manager».