func NewConfig(consumerKey, consumerSecret string) *Config {
	return &Config{
		ConsumerKey:    consumerKey,
		ConsumerSecret: consumerSecret,
	}
}
NewConfig returns a new Config with the given consumer key and secret.
package oauth1
import (
	"context"
	"errors"
	"fmt"
	"io/ioutil"
	"net/http"
	"net/url"
)
const (
	oauthTokenSecretParam       = "oauth_token_secret"
	oauthCallbackConfirmedParam = "oauth_callback_confirmed"
)
type Config struct {
	ConsumerKey string
	ConsumerSecret string
	CallbackURL string
	Endpoint Endpoint
	Signer Signer
}