Skip to main content
For concepts, dashboard setup, and the two outcomes (block vs scope), see Access Control and Gates. This page covers React Native–specific usage including scopes and UI. Use checks to read scopes and adjust your UI. See scope examples below.

Examples

Block site for users without specific amount of tokens. Gate setup:
  • User needs to have at least 1 SHIB to enter the site.
  • User is blocked in Dynamic Widget:
Add scope for users’ JWT when having specific NFT Gate setup:
  • User needs to have specific NFT to have admin scope
  • User has an admin scope added to the jwt
    json
    {
      ...
      "scope": "admin",
      ...
    }
    

Working with scopes