You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, there is no consistent method which determines whether a user's token claims are sufficient to access resources with an appID, orgID, and system status flag.
Describe the solution you'd like
Add a function to tokenauth.Claims which determines whether the set of claims grants access to a resource having the three parameters mentioned above.
Describe alternatives you've considered
Each service using the auth library could implement their own functions to do this, but this will likely result in inconsistencies across the system and unnecessary code duplication.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, there is no consistent method which determines whether a user's token claims are sufficient to access resources with an
appID
,orgID
, andsystem
status flag.Describe the solution you'd like
Add a function to
tokenauth.Claims
which determines whether the set of claims grants access to a resource having the three parameters mentioned above.Describe alternatives you've considered
Each service using the auth library could implement their own functions to do this, but this will likely result in inconsistencies across the system and unnecessary code duplication.
The text was updated successfully, but these errors were encountered: