Improved
ASP.NET Auth SDK 2.1.0 Release
2 months ago by Jim Verducci
The latest version of the ASP.NET Auth SDK has the following enhancements:
- The
WristbandAuthConfigclass can now take an optionalTokenExpirationBufferconfiguration. This buffer time (in seconds) gets subtracted from the access token’s expiration time. This causes the token to be treated as expired before its actual expiration, helping to avoid token expiration during API calls. The default value is 60 seconds if not explicitly configured. - The
CallbackDataandTokenDatatypes now return anExpiresAtfield. This is the absolute expiration time of the access token in milliseconds since the Unix epoch. TheTokenExpirationBufferconfiguration is accounted for in this value. Developers no longer need to calculate this in their code. - Validations for the
LoginStateSecretnow allow for any plaintext 32+ character string.