public CleverAuth(string clientId, string secret, string redirectUrl) { _redirectUrl = redirectUrl; _httpClient = new CleverHttpClient(new AuthenticationHeaderValue("Basic", Convert.ToBase64String( System.Text.Encoding.ASCII.GetBytes( string.Format("{0}:{1}", clientId, secret))))); }
public Clever(string accessToken) { _httpClient = new CleverHttpClient(new AuthenticationHeaderValue("Bearer", accessToken)); }