Yes, it will help us to enable any other type of plugins on the public API
registered in `_M.api()` of user custom plugins.

Bozhong Yu <imbozh...@gmail.com> 于2022年1月18日周二 09:10写道:

> This plugin needs to be used in conjunction with other plugins, right?
>
> Zeping Bai <bzp2...@apache.org> 于2022年1月18日周二 01:57写道:
>
> > Hi, everyone.
> >
> > Current Apache APISIX users can register public APIs when developing
> > plugins,
> > such as the sign API in the jwt-auth plugin and thelogin and other API in
> > thewolf-rbacplugin. In the current design, users can control their access
> > through
> > API interceptor <
> https://apisix.apache.org/docs/apisix/plugin-interceptors
> > >
> > , which currently only support IP restrictions via theip-restriction
> > plugin and cannot apply more complex access patterns.
> >
> > Therefore, we designed thepublic-apiplugin, which incorporates the APIs
> > from user plugins into the general HTTP request processing flow and
> > supports
> > the configuration of all plugins currently supported by APISIX.
> >
> > I have created a proposal *[1]* describing my solution, and if you have
> any
> > suggestions or questions about it, you can respond in a GitHub issue or
> > in this email.
> >
> > *[1]* https://github.com/apache/apisix/issues/6137
> >
> > Best regards!
> > Zeping Bai  @bzp2010
> >
>

Reply via email to