Files
opencloud/thumbnails/pkg/service/jwt/jwt.go
David Christofas 95ae3b8762 rewrite thumbnails API
Improved the thumbnails API so that the binary files won't be
transported via GRPC. GRPC has a limited message size and isn't very
effiefficient with large binary data.
2022-03-08 23:12:43 +01:00

9 lines
131 B
Go

package jwt
import "github.com/golang-jwt/jwt/v4"
type ThumbnailClaims struct {
jwt.RegisteredClaims
Key string `json:"key"`
}