Compare commits

..
Author SHA1 Message Date
phoenix 4cc80edfbc tsk-15: Added User Id to Login 2025-12-15 21:44:06 -05:00
+5 -9
View File
@@ -11,13 +11,9 @@ type Claims struct {
jwt.RegisteredClaims
}
type LoginResult struct {
UserId uuid.UUID `json:"user_id"`
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
ExpiresIn int64 `json:"expires_in"`
type Login struct {
UserId uuid.UUID `json:"user_id"`
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
ExpiresIn int64 `json:"expires_in"`
}
// Alias for LoginResult
// Will be deprecated at some point
type Login = LoginResult