Spaces:
Runtime error
Runtime error
Download models/authentication_payload_model.go from lifedebugger/urna-backend: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/lifedebugger/urna-backend/resolve/main/models/authentication_payload_model.go
- Command line
-
hf download hf://spaces/lifedebugger/urna-backend/models/authentication_payload_model.go
-
curl -L -o authentication_payload_model.go https://huggingface.co/spaces/lifedebugger/urna-backend/resolve/main/models/authentication_payload_model.go
300 Bytes
| package models | |
| import ( | |
| "github.com/golang-jwt/jwt/v4" | |
| uuid "github.com/satori/go.uuid" | |
| ) | |
| type JWTCustomClaims struct { | |
| IdUser uuid.UUID `json:"user_id" binding:"required"` | |
| jwt.RegisteredClaims | |
| } | |
| type AccountData struct { | |
| IdUser uuid.UUID `json:"user_id" binding:"required"` | |
| } | |