mjwt/claims/empty-claims.go

9 lines
190 B
Go
Raw Normal View History

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