Files
schedtxt_auth/internal/model/token.go
T
2025-11-01 16:18:03 -04:00

20 lines
316 B
Go

package model
/*
import (
"github.com/golang-jwt/jwt/v5"
)
type Claims struct {
UserId string `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"`
}