yoke.use("/login", new CustomLoginMiddleware());@param route The route prefix for the middleware @param middleware The middleware add to the chain
true
makes the corresponding class/resource available
@In(value = "name")
or @In varName
, the provided component will be used.
@param component The component instance to use under the provided name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|