Initial discord remote auth support.

It works, but nothing is persisted yet as the user object needs some tweaking
especially the database side.
This commit is contained in:
Gary Kramlich
2022-01-04 20:20:45 -06:00
parent 2279916d9c
commit 94104102d2
10 changed files with 581 additions and 23 deletions

View File

@@ -16,6 +16,9 @@ type User struct {
MXID id.UserID
ID string
Discriminator string
Username string
ManagementRoom id.RoomID
Session *discordgo.Session