rsapi/auth.go
func NewTokenAuthenticator(token string, accountID int) Authenticator {
	return &tokenAuthenticator{token: token, accountID: accountID}
}
func NewTokenAuthenticator(token string, accountID int) Authenticator {
	return &tokenAuthenticator{token: token, accountID: accountID}
}
// NewTokenAuthenticator returns an authenticator that use an oauth access token to do authentication.
// This is useful if the oauth handshake has already happened.
// Use the OAuthAuthenticator to use a refresh token and have the authenticator do the handshake.
// 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).