add: new go-fuzz targets

Signed-off-by: Arjun <pkillarjun@protonmail.com>
This commit is contained in:
Arjun
2024-11-11 20:26:12 +05:30
parent 1f3e3045ad
commit 53c523444e
5 changed files with 67 additions and 0 deletions

View File

@@ -197,3 +197,10 @@ func createSecureMockServerAndClient(handler http.Handler) (*httptest.Server, *h
return server, client, nil
}
func FuzzNewAccessValidator(f *testing.F) {
f.Fuzz(func(t *testing.T, domain string, issuer string, applicationAUD string) {
ctx := context.Background()
_, _ = NewAccessValidator(ctx, domain, issuer, applicationAUD)
})
}