Documentation ¶
Index ¶
- type Request
- type Response
- type TokenStore
- func (ts *TokenStore) CheckToken(ctx context.Context, id string) (bool, error)
- func (ts *TokenStore) GenRootToken(ctx context.Context, id string) (*logical.TokenEntry, error)
- func (ts *TokenStore) Lookup(ctx context.Context, id string) (*logical.TokenEntry, error)
- func (ts *TokenStore) NamespaceByID(ctx context.Context, id string) (*namespace.Namespace, error)
- func (ts *TokenStore) Salt(ctx context.Context) (*salt.Salt, error)
- func (ts *TokenStore) SaltID(ctx context.Context, id string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenStore ¶
type TokenStore struct {
// contains filtered or unexported fields
}
func NewTokenStore ¶
func NewTokenStore(u *unseal.Unseal) *TokenStore
func (*TokenStore) CheckToken ¶
func (*TokenStore) GenRootToken ¶
func (ts *TokenStore) GenRootToken(ctx context.Context, id string) (*logical.TokenEntry, error)
func (*TokenStore) Lookup ¶
func (ts *TokenStore) Lookup(ctx context.Context, id string) (*logical.TokenEntry, error)
func (*TokenStore) NamespaceByID ¶
Click to show internal directories.
Click to hide internal directories.