I can able to get token from <http://example.com/magento2/rest/V1/integration/admin/token> with Username & Password.

Using this token, I can request product details on <http://example.com/magento2/rest/V1/products/:sku> and get stock level are working.

When I try to get a order details, I am getting error like:

```
"message": "Consumer is not authorized to access %resources",
"parameters": 
    "resources": "Magento_Sales::sales"

```

When I try to get a customer details, I am getting error like:

```
"message": "Consumer is not authorized to access %resources",
"parameters": 
    "resources": "Magento_Customer::customer"

```

I can access only functions which is ***vendor/magento/module-moduleName/etc/webapi.xml*** with **resource ref="anonymous"**.

Rest of them I am having same error **"Consumer is not authorized to access %resources"**.

How can able to access all magento core function through rest api?