| // Copyright 2015 The Vanadium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| |
| package agentlib |
| |
| import ( |
| "v.io/v23/context" |
| "v.io/v23/naming" |
| "v.io/v23/rpc" |
| "v.io/v23/security" |
| ) |
| |
| func NewUncachedPrincipal(ctx *context.T, endpoint naming.Endpoint, insecureClient rpc.Client) (security.Principal, error) { |
| return newUncachedPrincipal(ctx, endpoint, insecureClient) |
| } |
| |
| func NewUncachedPrincipalX(path string) (security.Principal, error) { |
| return newUncachedPrincipalX(path) |
| } |