Skip to content

7.0.0

Latest
Compare
Choose a tag to compare
@serhiisol serhiisol released this 28 May 23:18
62a495d

7.0.0

Updates

  • Angular@20 support added
  • new provideNgxAuthProviders function to simplify configuration process
  • zoneless support added

Breaking changes

  • Interceptor is now a function ngxAuthInterceptor, old class-based interceptor is removed
  • Guards are now functions ngxProtectedGuard and ngxPublicGuard respectively
  • AuthService is replaced with NgxAuthService and received following updates:
    • isAuthorized is renamed to isAuthenticated and now can return a promise
    • getAccessToken can now return promise
    • verifyRefreshToken is removed in favor of skipRequest
    • refreshToken can also return a promise