Skip to content

Comments

deskconnd: handle key add and remove#53

Merged
muzzammilshahid merged 2 commits intomainfrom
handle-key-add-remove
Feb 17, 2026
Merged

deskconnd: handle key add and remove#53
muzzammilshahid merged 2 commits intomainfrom
handle-key-add-remove

Conversation

@muzzammilshahid
Copy link
Member

No description provided.

auth.go Outdated
}

func (a *Authenticator) SubscribeEvents(session *xconn.Session, machineID string) error {
addSubResp := session.Subscribe(fmt.Sprintf("io.xconn.deskconn.desktop.%s.key.add", machineID), a.handleAddKey).Do()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create constant for uri

auth.go Outdated
return addSubResp.Err
}

removeSubResp := session.Subscribe(fmt.Sprintf("io.xconn.deskconn.desktop.%s.key.remove", machineID),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@muzzammilshahid muzzammilshahid merged commit b80351e into main Feb 17, 2026
1 check passed
@muzzammilshahid muzzammilshahid deleted the handle-key-add-remove branch February 17, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants