This PR updates the preview feature "re-auth" significantly. The changes allow for catering to a wider range of use cases including simple password rotation.
As part of this PR, all auth-related namespaces have been moved to preview - previously some did not have this, although the classes therein would not have been usable.
Since this is a preview feature all changes here are breaking changes.
The OnTokenExpiredAsync method in the IAuthTokenManager interface was removed, and a new HandleSecurityExceptionAsync method was added in its place.
The ExpirationBased method in AuthTokenManagers was renamed to Bearer, and a new Basic method was added to cater for password rotation.
This PR updates the preview feature "re-auth" significantly. The changes allow for catering to a wider range of use cases including simple password rotation.
As part of this PR, all auth-related namespaces have been moved to preview - previously some did not have this, although the classes therein would not have been usable.
Since this is a preview feature all changes here are breaking changes.
The
OnTokenExpiredAsync
method in theIAuthTokenManager
interface was removed, and a newHandleSecurityExceptionAsync
method was added in its place.The
ExpirationBased
method inAuthTokenManagers
was renamed toBearer
, and a newBasic
method was added to cater for password rotation.