How to generate access token using refresh token through google drive API?

If you are using web api then you should make a http POST call to URL : with following request body client_id: <YOUR_CLIENT_ID> client_secret: <YOUR_CLIENT_SECRET> refresh_token: <REFRESH_TOKEN_FOR_THE_USER> grant_type: refresh_token refresh token never expires so you can use it any number of times. The response will be a JSON like this: { “access_token”: “your refreshed … Read more

Is claims based authorization appropriate for individual resources

When you are talking about roles and permissions then you are talking about authorization. Claims are typically not for authorization. (Identity)Claims are there to model the identity of the user: who is the user? The claims on itself do not tell anything about authorization. A user can have a role claim, but this doesn’t tell … Read more