-
Notifications
You must be signed in to change notification settings - Fork 581
AnthN & AuthZ
Thang Chung edited this page Aug 5, 2018
·
1 revision
- Catalog Service http://localhost:5002
{"catalog_api_scope", "Catalog APIs"}
c.AddPolicy("access_catalog_api", p => p.RequireClaim("scope", "catalog_api_scope"));
- Cart Service http://localhost:5003
{"cart_api_scope", "Cart APIs"}
c.AddPolicy("access_cart_api", p => p.RequireClaim("scope", "cart_api_scope"));
- Inventory Service http://localhost:5004
{"inventory_api_scope", "Inventory APIs"}
c.AddPolicy("access_inventory_api", p => p.RequireClaim("scope", "inventory_api_scope"));
- Pricing Service http://localhost:5005
{"pricing_api_scope", "Pricing APIs"}
c.AddPolicy("access_pricing_api", p => p.RequireClaim("scope", "pricing_api_scope"));
- Review Service http://localhost:5006
{"review_api_scope", "Review APIs"}
c.AddPolicy("access_review_api", p => p.RequireClaim("scope", "review_api_scope"));
- Rating Service http://localhost:5007
{"rating_api_scope", "Rating APIs"}
c.AddPolicy("access_rating_api", p => p.RequireClaim("scope", "rating_api_scope"));