Add empty claims type

This commit is contained in:
Melon 2024-02-24 16:03:06 +00:00
parent ab84ded3a1
commit ca4e4b7cae
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

8
claims/empty-claims.go Normal file
View File

@ -0,0 +1,8 @@
package claims
// EmptyClaims contains no claims
type EmptyClaims struct {}
func (e EmptyClaims) Valid() error { return nil }
func (e EmptyClaims) Type() string { return "empty-claims" }