Middleware defines an authentication middleware
| 22 | |
| 23 | // Middleware defines an authentication middleware |
| 24 | type Middleware interface { |
| 25 | Middleware(next http.Handler) http.Handler |
| 26 | } |
| 27 | |
| 28 | type InstanceTokenGetter interface { |
| 29 | NewInstanceJWTToken(instance params.Instance, entity params.ForgeEntity, ttlMinutes uint) (string, error) |
nothing calls this directly
no outgoing calls
no test coverage detected