Spaces:
Runtime error
Runtime error
Download models/authentication_payload_model.go from lifedebugger/quzuu-api-dev: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/spaces/lifedebugger/quzuu-api-dev/resolve/main/models/authentication_payload_model.go
- Command line
-
hf download hf://spaces/lifedebugger/quzuu-api-dev/models/authentication_payload_model.go
-
curl -L -o authentication_payload_model.go https://huggingface.co/spaces/lifedebugger/quzuu-api-dev/resolve/main/models/authentication_payload_model.go
313 Bytes
| package models | |
| import ( | |
| "github.com/golang-jwt/jwt/v5" | |
| "github.com/google/uuid" | |
| ) | |
| type AccountData struct { | |
| UserID uuid.UUID | |
| VerifyStatus string | |
| Role string | |
| ErrVerif error | |
| } | |
| type CustomClaims struct { | |
| jwt.RegisteredClaims | |
| UserID uuid.UUID `json:"id"` | |
| Role string `json:"role"` | |
| } | |