CBApi.Framework.Requests.AuthTokenRequest.AuthTokenRequest C# (CSharp) Метод

AuthTokenRequest() приватный Метод

private AuthTokenRequest ( string clientId, string clientSecret, string code, string redirectUri, APISettings settings ) : System
clientId string
clientSecret string
code string
redirectUri string
settings APISettings
Результат System
        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;
            
        }