From 08567831db1a614d267a3bff7ae25c8028dab996 Mon Sep 17 00:00:00 2001 From: Fahrezal Effendi Date: Tue, 26 Dec 2023 06:05:56 +0000 Subject: [PATCH] Remove Authorization.UserIDPtr --- iam/authorization.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/iam/authorization.go b/iam/authorization.go index 58f7447..c23af03 100644 --- a/iam/authorization.go +++ b/iam/authorization.go @@ -107,12 +107,6 @@ func (authz Authorization) UserID() UserID { return authz.SessionID.terminal.user } -// UserIDPtr returns a pointer to a new copy of user ref-key. The -// returned value is non-nil when the user ref-key is valid. -func (authz Authorization) UserIDPtr() *UserID { - return authz.SessionID.terminal.UserPtr() -} - func (authz Authorization) TerminalID() TerminalID { return authz.SessionID.terminal }