Adds auth settings for this path/method. Auth settings currently consist solely of Authorizers
        but this method will eventually include setting other auth settings such as API Key,
        Resource Policy, etc.

        :param string path: Path name
        :param string method_name: Method name
        :param dict auth: Auth configuration such as Authorizers, ApiKey, ResourcePolicy (only Authorizers supported
                          currently)
        :param dict api: Reference to the related Api's properties as defined in the template.

def add_auth_to_method(self, path, method_name, auth, api):
        """
        Adds auth settings for this path/method. Auth settings currently consist solely of Authorizers
        but this method will eventually include setting other auth settings such as API Key,
        Resource Policy, etc.

        :param string path: Path name
        :param string method_name: Method name
        :param dict auth: Auth configuration such as Authorizers, ApiKey, ResourcePolicy (only Authorizers supported
                          currently)
        :param dict api: Reference to the related Api's properties as defined in the template.
        """
        method_authorizer = auth and auth.get('Authorizer')
        if method_authorizer:
            api_auth = api.get('Auth')
            api_authorizers = api_auth and api_auth.get('Authorizers')
            default_authorizer = api_auth and api_auth.get('DefaultAuthorizer')

            self.set_method_authorizer(path, method_name, method_authorizer, api_authorizers, default_authorizer)