internal AuthTokenRequest(string clientId, string clientSecret, string code, string redirectUri, APISettings settings)
: base(settings) {
if (string.IsNullOrEmpty(clientId)) {
throw new ArgumentNullException();
}
if (string.IsNullOrEmpty(clientSecret)) {
throw new ArgumentNullException();
}
if (string.IsNullOrEmpty(code)) {
throw new ArgumentNullException();
}
if (string.IsNullOrEmpty(redirectUri)) {
throw new ArgumentNullException();
}
_ClientId = clientId;
_ClientSecret = clientSecret;
_Code = code;
_RedirectUri = redirectUri;
}