func (sm *TestSecurityModule) VerifyToken(tok string) (interface{}, error) {
	if tok == "testat" {
		return "verified", nil
	}
	return nil, fmt.Errorf("badness")
}
VerifyToken of TEST MODULE checks if a token matches a fixed string
package authtest
import (
	"fmt"
)
type TestSecurityModule struct{}