func NewOAuthAuthenticator(token string, accountID int) Authenticator {
	return &oAuthSigner{
		refreshToken: token,
		refreshAt:    time.Now().Add(-2 * time.Minute),
		client:       httpclient.New(),
		accountID:    accountID,
	}
}
func NewOAuthAuthenticator(token string, accountID int) Authenticator {
	return &oAuthSigner{
		refreshToken: token,
		refreshAt:    time.Now().Add(-2 * time.Minute),
		client:       httpclient.New(),
		accountID:    accountID,
	}
}
// NewOAuthAuthenticator returns a authenticator that uses a oauth refresh token to create access
// tokens.
// The refresh token can be found in the CM dashboard under Settings > Account Settings > API Credentials.
// Specifying the accountID is only required if the API requires the "X-Account" header to be set
// (this is true of CM 1.6 at the moment).