67e02a0752
Stubs for enterprise-only ACL token to be used by managed service providers.
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
|
|
}
|