I've read the IdentityServer4 documentation but I can't understand what is the exact difference between these three concepts. (ApiResource vs ApiScope vs IdentityResource)
1- As it is said in the documentation, API Scope models an OAuth scope. and API Resource models an API resource. So what is the difference between the OAuth scope and API resource?
2- also, as I understand in this section of document , in AllowsScope
of client definition in Identity server, we must add IdentityResources. So what is the exact usage of Identity resources?
3- If I add some IdentityResources to client AllowsScopes
, How can I see these Resources In client?
I am the beginner in Identity Server, which means that my questions are maybe elementary. but please answer it, I've searched a lot, and nowhere explain these concepts completely. For example,here is the definition of Identity resource!