Gowtham

Gowtham

  • NA
  • 516
  • 41k

How to increase life time for access token

May 11 2018 7:21 AM
Hi,
I am working with microsoft planner task to retrieve the details from my login credentials, i have manged to get all token to retrieve all detials form postman development api.
 the access token are less life time validity, I have also retrieved refresh token but I dont have idea to use this token, pls let me know how to use this refersh token. 
 
Access Token -
eyJ0eXAiOiJKV1QiLCJub25jZSI6IkFRQUJBQUFBQUFEWDhHQ2k2SnM2U0s4MlRzRDJQYjdyYWVKMFFTZUMwY3VIMExkMDNQYUVISGI3UzJmV1BiNkVNUmM0ZV9mRXlsZ2VVX3ZWaFBWQ3lZNGdWWGhfWnJYZDZPa2dodzhFcDVwRWFldFVRVi1DOHlBQSIsImFsZyI6IlJTMjU2IiwieDV0IjoiaUJqTDFSY3F6aGl5NGZweEl4ZFpxb2hNMllrIiwia2lkIjoiaUJqTDFSY3F6aGl5NGZweEl4ZFpxb2hNMllrIn0.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20vIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzA5N2MzMGMtMzI5My00ZTdjLWEyZjMtY2U0YjI1ZDk3OWVmLyIsImlhdCI6MTUyNjAzMTI4NiwibmJmIjoxNTI2MDMxMjg2LCJleHAiOjE1MjYwMzUxODYsImFjciI6IjEiLCJhaW8iOiJZMmRnWUtqNVdQenNTZkJuZDZieWx1eTE0Y2RXbVh5S3Q5SHhYSHRNMjNuUDVZNGJUVklBIiwiYW1yIjpbInB3ZCJdLCJhcHBfZGlzcGxheW5hbWUiOiJWZWVsZWFkRGVtbyIsImFwcGlkIjoiNWE3MzdiNzUtYzUyNi00MjZhLTkwMzMtNjZiZjMzODhiOWY0IiwiYXBwaWRhY3IiOiIxIiwiZmFtaWx5X25hbWUiOiIwMSIsImdpdmVuX25hbWUiOiJTUCBVc2VyIiwiaXBhZGRyIjoiNDUuMjUxLjMzLjIwOSIsIm5hbWUiOiJTUCBVc2VyIDAxIiwib2lkIjoiZTk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ykVQ8IZNPCIOHCGgClVeodZOKpqzuRPzp7ubf4k0mW9C7ehnZiYkGhKquuqICD4haRTrCmj9Rb5t574nyprvHxr1SMqg576Th7MvdXlY9z7Xo9VB3-6kj2QLIljmaVFB_u0ZvH9f6pU5OCGLq4Uag7Kqvl9VQ0tmQ
Token Type
Bearer
scope
Group.ReadWrite.All Mail.Read Sites.Read.All Sites.ReadWrite.All Tasks.Read Tasks.Read.Shared Tasks.ReadWrite Tasks.ReadWrite.Shared User.Read User.Read.All User.ReadBasic.All User.ReadWrite User.ReadWrite.All UserActivity.ReadWrite.CreatedByApp UserTimelineActivity.Write.CreatedByApp
expires_in
3599
ext_expires_in
0
expires_on
1526035186
not_before
1526031286
resource
https://graph.microsoft.com/
refresh_token
AQABAAAAAADX8GCi6Js6SK82TsD2Pb7r-b-4FWfBGPteUq5z9KlkqIREbe-SpuUe5hNA3u135T0F3dcxRykKXkPS3tZaJwjzraHKb7Nr4rbIogZCDAzdeL1PENuS63Mbt3mabSWykGGi1z1-UQCVxJOlhSNKAXcHtNqHxxvTWZHcuHe8Pzhgg1yRuZT42E0BrPC6-pkCL9JSf6HvjyifvZVjgQzdtzY4SRMHLvGsL4xh1vVpHtrvfmhyBM0yXgQpEg6TdQdNa7Nthr23N1uyR34jfFO6ouIafrrVgD1u-sM0_lk3ZU400P-FS_Ur9jrM8ILzLgkYt-WuYs4PHKGd7Z5ocS1j8VjDVV7nwuzQYhJwTqjaaY7tslpKsSOfn2YJBYe90iLod8XUFWaaQsSNGYmZpsdSpO1RSZ3b6E7zvLJ9yR6P1xjJdskcwgG5cEwMQMkBek86IYDEKzihhGbBzNol6IJ6nTO6cttXTJX7Uqso22fOyF5vsHnieFBUZJHJDzw4R3hG138IV0RHDtIrAqNnMvakBeDV_ZfkMNOszQ-ONkwC7K6QcA9UATRBhIwX-ir62pILWxezba9gGjaVFUUNMmCqnxuHm7zDg67tTtqE4RRT6IMP1jFU8EQXtFB2uvp8PoJQHlIpvVocsxGUXXThAol5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