func NewForConfig(c *rest.Config) (*AuthenticationClient, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &AuthenticationClient{client}, nil
}
NewForConfig creates a new AuthenticationClient for the given config.
package v1beta1
import (
	api "k8s.io/client-go/pkg/api"
	registered "k8s.io/client-go/pkg/apimachinery/registered"
	serializer "k8s.io/client-go/pkg/runtime/serializer"
	rest "k8s.io/client-go/rest"
)
type AuthenticationInterface interface {
	RESTClient() rest.Interface
	TokenReviewsGetter
}
type AuthenticationClient struct {
	restClient rest.Interface
}
func (c *AuthenticationClient) TokenReviews() TokenReviewInterface {
	return newTokenReviews(c)
}