pixeldin commented on issue #8164:
URL: https://github.com/apache/apisix/issues/8164#issuecomment-1319497912

   # Usage of type 
   
   This two places mentions the `type` field:
   
https://github.com/apache/apisix/blob/2f4a4dba2c0cbc426ae99133c2546112ea71dba8/apisix/consumer.lua#L46
   
https://github.com/apache/apisix/blob/2f4a4dba2c0cbc426ae99133c2546112ea71dba8/apisix/admin/consumers.lua#L55
   
   # Docs about plugin category
   From the docs, most plugin in the '**Authentication**' category will 
initialization with `type = 'auth'` in code, like [ basic-auth / jwt-auth / 
hmac-auth / wolf-rbac etc... ]  
   
https://github.com/apache/apisix/blob/2f4a4dba2c0cbc426ae99133c2546112ea71dba8/apisix/plugins/basic-auth.lua#L56
   
   But I found **not all** plugins in the '**Authentication**' category will 
specify `type = 'auth'`, such as this:
   https://apisix.apache.org/zh/docs/apisix/plugins/authz-casbin/
   
   So I think the origin usage about the `type` is not `category` means, right?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to