2023-03-15 16:00:52 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-01-05 18:02:03 +00:00
|
|
|
//go:build !enterprise
|
2018-09-18 03:03:00 +00:00
|
|
|
|
|
|
|
package vault
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/vault/helper/namespace"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (ts *TokenStore) baseView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.baseBarrierView
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ts *TokenStore) idView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.idBarrierView
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ts *TokenStore) accessorView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.accessorBarrierView
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ts *TokenStore) parentView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.parentBarrierView
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ts *TokenStore) rolesView(ns *namespace.Namespace) *BarrierView {
|
|
|
|
return ts.rolesBarrierView
|
|
|
|
}
|