Removed internal token package
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
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"`
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user