WSO2:是否有一种方法来管理WSO2中每个已发布API的订阅者角色?

huangapple go评论87阅读模式
英文:

WSO2: Is there a way to manage subscriber roles for each published API in WSO2?

问题

我正在使用WSO2 API Manager 4.1.0,我想知道是否可以通过为订阅者分配角色来管理API。例如,我是否可以为一个订阅者分配一个角色,允许他们查看两个API,并为另一个订阅者分配另一个角色,允许他们查看其他API?如何以这种方式管理角色?

英文:

I am using WSO2 API Manager 4.1.0, and I would like to know if it is possible to manage APIs by assigning roles to subscribers. For example, can I give a role to a subscriber that allows them to see two APIs, and give another role to a different subscriber that allows them to see other APIs? How can I manage roles in this manner?

答案1

得分: 1

请参考以下文档。您应该能够实现您所需的内容。

https://apim.docs.wso2.com/en/latest/design/api-security/oauth2/oauth2-scopes/fine-grained-access-control-with-oauth-scopes/#defining-oauth-scopes-in-api-definition

英文:

Refer the document below. You should be able to achieve what you require.

https://apim.docs.wso2.com/en/latest/design/api-security/oauth2/oauth2-scopes/fine-grained-access-control-with-oauth-scopes/#defining-oauth-scopes-in-api-definition

huangapple
  • 本文由 发表于 2023年6月13日 14:45:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/76462278.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定