tsk-8: Renamed pkg

This commit is contained in:
phoenix
2025-11-24 16:23:13 -05:00
parent fbaa9a48f3
commit b4359d931d
9 changed files with 0 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package token
import (
"github.com/golang-jwt/jwt/v5"
"github.com/google/uuid"
)
type Claims struct {
UserId uuid.UUID `json:"user_id"`
Role string `json:"role"`
jwt.RegisteredClaims
}
type Login struct {
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
ExpiresIn int64 `json:"expires_in"`
}