func FooterProperty(fk FooterKey) Option {
	return func(p *PasetoMiddleware) {
		p.FooterProperty = fk
	}
}
FooterProperty defines where the unencrypted Paseto footer should be stored in the context of the request.
package pasetomiddleware
import (
	"net/http"
	"github.com/o1egl/paseto"
)
type ErrorHandler func(w http.ResponseWriter, r *http.Request, err error)
type TokenExtractor func(r *http.Request) (string, error)
type TokenDecryptor func(pas string, token *paseto.JSONToken, footer *string) error
func Error(eh ErrorHandler) Option {
	return func(p *PasetoMiddleware) {
		p.ErrorHandler = eh
	}
}
func Extractor(e TokenExtractor) Option {
	return func(p *PasetoMiddleware) {
		p.Extractor = e
	}
}
func Decryptor(d TokenDecryptor) Option {
	return func(p *PasetoMiddleware) {
		p.Decryptor = d
	}
}
func CredentialsOptional(o bool) Option {
	return func(p *PasetoMiddleware) {
		p.CredentialsOptional = o
	}
}
func TokenProperty(tk TokenKey) Option {
	return func(p *PasetoMiddleware) {
		p.TokenProperty = tk
	}
}