improved
ASP.NET Auth SDK 2.1.0 Release
7 days ago by Jim Verducci
The latest version of the ASP.NET Auth SDK has the following enhancements:
- The
WristbandAuthConfig
class can now take an optionalTokenExpirationBuffer
configuration. 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
CallbackData
andTokenData
types now return anExpiresAt
field. This is the absolute expiration time of the access token in milliseconds since the Unix epoch. TheTokenExpirationBuffer
configuration is accounted for in this value. Developers no longer need to calculate this in their code. - Validations for the
LoginStateSecret
now allow for any plaintext 32+ character string.