Retrieves the transfer authorization code (EPP code) for a domain.
Authenticate via HTTP Basic with your account username and API token. Examples use an explicit 'Authorization: Basic <base64(username:token)>' header; 'curl -u username:token' is equivalent. For sandbox, append "-test" to your username and use your sandbox token on api.dev.name.com.
DomainName is the domain name to retrieve the authorization code for.
A successful response.
AuthCodeResponse returns the auth code from the GetAuthCodeForDomain funtion.
AuthCode is the authorization code needed to transfer a domain to another registrar. If you are storing auth codes, be sure to store them in a secure manner.