Files
core/http/api/jwt.go
Jan Stabenow 9c0b535199 Add v16.7.2
2022-05-13 19:26:45 +02:00

12 lines
309 B
Go

package api
// JWT is the JWT token and its expiry date
type JWT struct {
AccessToken string `json:"access_token" jsonschema:"minLength=1"`
RefreshToken string `json:"refresh_token" jsonschema:"minLength=1"`
}
type JWTRefresh struct {
AccessToken string `json:"access_token" jsonschema:"minLength=1"`
}