Akamai.EdgeGrid.Auth.ClientCredential.ClientCredential C# (CSharp) Method

ClientCredential() public method

Default Constructor
public ClientCredential ( string clientToken, string accessToken, string secret ) : System
clientToken string The Client Token - cannot be null or empty
accessToken string The Access Token - cannot be null or empty
secret string The client Secret - cannot be null or empty
return System
        public ClientCredential(string clientToken, string accessToken, string secret)
        {
            if (string.IsNullOrEmpty(clientToken))
                throw new ArgumentNullException("clientToken cannot be empty.");
            if (string.IsNullOrEmpty(accessToken))
                throw new ArgumentNullException("accessToken cannot be empty.");
            if (string.IsNullOrEmpty(secret))
                throw new ArgumentNullException("secret cannot be empty.");

            this.ClientToken = clientToken;
            this.AccessToken = accessToken;
            this.Secret = secret;
        }
ClientCredential