blob: 3c5ff13a1af8ab70127477fadff6e3b2c5e313f6 [file] [log] [blame]
Jiri Simsad7616c92015-03-24 23:44:30 -07001// Copyright 2015 The Vanadium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Ryan Brown81bcb3a2015-02-11 10:58:01 -08005package agent
6
7import (
Jiri Simsa6ac95222015-02-23 16:11:49 -08008 "v.io/v23/context"
Matt Rosencrantz94502cf2015-03-18 09:43:44 -07009 "v.io/v23/rpc"
Jiri Simsa6ac95222015-02-23 16:11:49 -080010 "v.io/v23/security"
Ryan Brown81bcb3a2015-02-11 10:58:01 -080011)
12
Matt Rosencrantz94502cf2015-03-18 09:43:44 -070013func NewUncachedPrincipal(ctx *context.T, fd int, insecureClient rpc.Client) (security.Principal, error) {
Ryan Brown81bcb3a2015-02-11 10:58:01 -080014 return newUncachedPrincipal(ctx, fd, insecureClient)
15}