'If a request is unauthenticated, determine the WWW-Authenticate
header to use for 401 responses, if any.'

def get_authenticate_header(self, request):

    authenticators = self.get_authenticators()
    if authenticators:
        return authenticators[0].authenticate_header(request)
