func New() *Client {
	client := &Client{
		validationURL: ValidationURL,
		client: &http.Client{
			Timeout: 5 * time.Second,
		},
	}
	return client
}
New creates a Client object
package apple
import (
	"context"
	"encoding/json"
	"fmt"
	"net/http"
	"net/url"
	"strings"
	"time"
	"github.com/tideland/gorest/jwt"
)
const (
	ValidationURL string = "https://appleid.apple.com/auth/token"
	ContentType string = "application/x-www-form-urlencoded"
	UserAgent string = "go-signin-with-apple"
	AcceptHeader string = "application/json"
)
type ValidationClient interface {
	VerifyWebToken(ctx context.Context, reqBody WebValidationTokenRequest, result interface{}) error
	VerifyAppToken(ctx context.Context, reqBody AppValidationTokenRequest, result interface{}) error
	VerifyRefreshToken(ctx context.Context, reqBody ValidationRefreshRequest, result interface{}) error
}
type Client struct {
	validationURL string
	client        *http.Client
}