The Sun as a target for axion dark matter detection