19 lines
405 B
Go
19 lines
405 B
Go
// +build !consulent
|
|
|
|
package consul
|
|
|
|
import (
|
|
"github.com/hashicorp/consul/acl"
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
)
|
|
|
|
// Consul-enterprise only
|
|
func (s *Server) ResolveEntTokenToIdentityAndAuthorizer(token string) (structs.ACLIdentity, acl.Authorizer) {
|
|
return nil, nil
|
|
}
|
|
|
|
// Consul-enterprise only
|
|
func (s *Server) validateEnterpriseToken(identity structs.ACLIdentity) error {
|
|
return nil
|
|
}
|