mjwt/empty-claims.go

9 lines
187 B
Go
Raw Permalink Normal View History

package mjwt
2024-02-24 16:03:06 +00:00
// EmptyClaims contains no claims
type EmptyClaims struct{}
2024-02-24 16:03:06 +00:00
func (e EmptyClaims) Valid() error { return nil }
func (e EmptyClaims) Type() string { return "empty-claims" }