Azure-Samples / active-directory-dotnet-graphapi-web

A .NET 4.5 MVC web app that demonstrates how to query the Azure AD Graph API using the Azure AD Graph Client Library
82 stars 68 forks source link

Saving token / token lifetime #45

Open Compufreak345 opened 7 years ago

Compufreak345 commented 7 years ago

Hi,

for me it's not clear if I can save the token, e.g. for using it later in a background process, and what is the lifetime of the token in this case - or if I can get something like a refresh token. It seems like in the Startup.Auth.cs there is a Bearer-Token received, but I don't know how to change this to provide a refresh token?

Thanks & best regards, Compu