def _can_authenticate()

in src/artifacts_keyring/plugin.py [0:0]


    def _can_authenticate(self, url, auth):
        response = requests.get(url, auth=auth)

        return response.status_code < 500 and \
            response.status_code != 401 and \
            response.status_code != 403