MCPcopy Create free account
hub / github.com/docker/go-plugins-helpers / AuthZReq

Method AuthZReq

authorization/api_test.go:27–33  ·  view source on GitHub ↗
(r Request)

Source from the content-addressed store, hash-verified

25}
26
27func (p *TestPlugin) AuthZReq(r Request) Response {
28 return Response{
29 Allow: false,
30 Msg: "You are not authorized",
31 Err: "",
32 }
33}
34
35func (p *TestPlugin) AuthZRes(r Request) Response {
36 return Response{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected