Spaces:
Runtime error
Runtime error
Download models/custom_claim.go from lifedebugger/pweb-api: direct link, hf CLI and curl.
- Browser
- Download file 131 Bytes
-
https://huggingface.co/spaces/lifedebugger/pweb-api/resolve/main/models/custom_claim.go
- Command line
-
hf download hf://spaces/lifedebugger/pweb-api/models/custom_claim.go
-
curl -L -o custom_claim.go https://huggingface.co/spaces/lifedebugger/pweb-api/resolve/main/models/custom_claim.go
131 Bytes
| package models | |
| import "github.com/golang-jwt/jwt/v5" | |
| type CustomClaims struct { | |
| jwt.RegisteredClaims | |
| UserID uint `json:"id"` | |
| } | |