mjwt/empty-claims.go

9 lines
187 B
Go

package mjwt
// EmptyClaims contains no claims
type EmptyClaims struct{}
func (e EmptyClaims) Valid() error { return nil }
func (e EmptyClaims) Type() string { return "empty-claims" }