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) {