def add_auth_to_method(self, path, method_name, auth, api):
method_authorizer = auth and auth.get('<STR_LIT>')<EOL>if method_authorizer:<EOL><INDENT>api_auth = api.get('<STR_LIT>')<EOL>api_authorizers = api_auth and api_auth.get('<STR_LIT>')<EOL>default_authorizer = api_auth and api_auth.get('<STR_LIT>')<EOL>self.set_method_authorizer(path, method_name, method_authorizer, api_authorizers, default_authorizer)<EOL><DEDENT>
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.