Compare commits

..

No commits in common. "982b60bde6a32ad1e6f5244d1e39a486c0068d67" and "a101fb122ba2796a5ae58045a61a0379fc61b05a" have entirely different histories.

2 changed files with 3 additions and 31 deletions

View File

@ -1,33 +1,5 @@
package sharedauth package sharedauth
import "time" type InstallId struct {
InstallId string
type InstallIdRegisterReq struct {
InstallId InstallId
}
type InstallId string
func (id InstallId) Validate() bool {
//TODO: More checks
return id != ""
}
type RedirResp struct {
RedirectUrl string
}
type LauncherSession struct {
// Username string
// DiscordId string
SessionToken string
InstallId string
Expiry time.Time
}
type ValidateReq struct {
LauncherToken string
}
type ValidateResp struct {
} }

View File

@ -1,4 +1,4 @@
package sharedDistribution package sharedUtils
import ( import (
"time" "time"