nyanimedb/auth/claims.go
nihonium 714ef57027
All checks were successful
Build and Deploy Go App / build (push) Successful in 6m1s
Build and Deploy Go App / deploy (push) Successful in 37s
feat: use JWT Subject
2025-12-06 06:47:01 +03:00

9 lines
173 B
Go

package auth
import "github.com/golang-jwt/jwt/v5"
type TokenClaims struct {
Type string `json:"type"`
ImpID *string `json:"imp_id,omitempty"`
jwt.RegisteredClaims
}