(c context.Context)
| 120 | } |
| 121 | |
| 122 | func (i *IdentityManager) LogoutContext(c context.Context) { |
| 123 | authContext := i.ContextUserManager.GetAuthenticationInfo(c) |
| 124 | if authContext != nil { |
| 125 | authContext.AuthenticatedUser.User = nil |
| 126 | authContext.AuthorizedUser.OrganizationUser = nil |
| 127 | } |
| 128 | w := GetResponseWriter(c) |
| 129 | r := GetRequest(c) |
| 130 | i.Logout(w, r) |
| 131 | } |
nothing calls this directly
no test coverage detected