How is the «web/secure/use_in_frontend» option implemented and used?

Implementation

The single usage:

\Magento\Store\Model\Store::XML_PATH_SECURE_IN_FRONTEND

Details: How is the \Magento\Store\Model\Store::XML_PATH_SECURE_IN_FRONTEND constant declared and used?

See also: