Skip to content

Commit

Permalink
Remove Authorization.UserIDPtr
Browse files Browse the repository at this point in the history
  • Loading branch information
exavolt committed Dec 26, 2023
1 parent 3bec84a commit 0856783
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions iam/authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0856783

Please sign in to comment.