From 603d15671ac5a6226f64a34a0c220034fe53131b Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Wed, 19 Jul 2017 18:05:50 +0800 Subject: [PATCH] delete the method of getting security context of specific user --- src/common/security/admiral/authcontext/authcontext.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/common/security/admiral/authcontext/authcontext.go b/src/common/security/admiral/authcontext/authcontext.go index ed567cacb..6cfca96c7 100644 --- a/src/common/security/admiral/authcontext/authcontext.go +++ b/src/common/security/admiral/authcontext/authcontext.go @@ -144,11 +144,6 @@ func GetAuthCtx(client *http.Client, url, token string) (*AuthContext, error) { return get(client, url, token) } -// GetAuthCtxOfUser returns the auth context of the specific user -func GetAuthCtxOfUser(client *http.Client, url, token string, username string) (*AuthContext, error) { - return get(client, url, token, username) -} - // get the user's auth context, if the username is not provided // get the default auth context of the token func get(client *http.Client, url, token string, username ...string) (*AuthContext, error) {