title: Identity Server 4 - How can I apply an ApiScope in a real world use case?
body: <p>I am new guy with Identity Server 4. ApiScope concept is unclear, could you please explain it more detail? And how can we apply it in real.</p>
  
  <p>Example: Web API will have below modules, I want to restrict access to module, can I based on it? If it is possible, how can we configure it in system</p>
  
  <pre><code>Scopes =
      {
           new Scope()
           {
               Name = "accountmanagement",
               DisplayName = "Account management api",
           },
           new Scope()
           {
               Name = "stockmanagement",
               DisplayName = "Account management api",
           }
      }
  </code></pre>
  
  <p>Thanks,</p>