diff --git a/claims/empty-claims.go b/claims/empty-claims.go new file mode 100644 index 0000000..84ff4f9 --- /dev/null +++ b/claims/empty-claims.go @@ -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" }