You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking through the code today to see how I could use an ACS token with PnP.Core. I was looking at the ACSTokenGenerator to try and use it as a base thought on writing an IAuthenticationProvider to cache the token.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was looking through the code today to see how I could use an ACS token with PnP.Core. I was looking at the
ACSTokenGenerator
to try and use it as a base thought on writing anIAuthenticationProvider
to cache the token.I noticed this in there:
pnpframework/src/lib/PnP.Framework/Utilities/ACSTokenGenerator.cs
Lines 32 to 41 in b8413c2
Isn't
lastToken.ExpiresOn
a UTC DateTime?Beta Was this translation helpful? Give feedback.
All reactions