Response represents authZ plugin response
| 84 | |
| 85 | // Response represents authZ plugin response |
| 86 | type Response struct { |
| 87 | // Allow indicating whether the user is allowed or not |
| 88 | Allow bool `json:"Allow"` |
| 89 | |
| 90 | // Msg stores the authorization message |
| 91 | Msg string `json:"Msg,omitempty"` |
| 92 | |
| 93 | // Err stores a message in case there's an error |
| 94 | Err string `json:"Err,omitempty"` |
| 95 | } |
| 96 | |
| 97 | // Plugin represent the interface a plugin must fulfill. |
| 98 | type Plugin interface { |
nothing calls this directly
no outgoing calls
no test coverage detected