Skip to content

Releases: juztcode/angular-auth

Version 0.1.1

21 Feb 17:13
Compare
Choose a tag to compare

Patch minor issues
Issue: login request, use javascript object without JSON.stringify

Version 0.1.0

06 Jan 07:57
Compare
Choose a tag to compare

New Features and Changes

  • tokenGetter, tokenSetter, tokenRemover moved to AuthConfigAdditional and there are default values

Migrate-step: Move those to the AuthConfigAdditional or you can use the default functions. The default functions are implemented using localStorage.

  • accessTokenExpiredResponseStatus, accessTokenExpiredErrorCode, refreshTokenExpiredResponseStatus, refreshTokenExpiredErrorCode moved
    to AuthConfig

Migrate-step: Add these configurations to the AuthConfig. The refreshToken attributes are optional (depends on refreshTokenEnabled)

  • Add extra headers to http requests

Migrate-step: Add 'Content-Type' header to AuthConfigAdditional.globalHttpHeaders section.

Version 0.0.9

30 Dec 10:35
Compare
Choose a tag to compare

Fixed issue with token expiration

When refresh token expired -> logout
When refresh token is not enabled + access token expired -> logout

Version 0.0.8

29 Dec 04:54
Compare
Choose a tag to compare

Fixed bugs with configuration, auth provider and permission provider.
Now after logout user permission are resetting
Added more configuration options
Auth type cofiguration
ApiError configuration
Permission configuration

For further see read me file

Version 0.0.7

27 Dec 16:12
Compare
Choose a tag to compare

Added additional configurations.
Now you can configure auth type and user permission types sent from the server

For further see read me file

Version 0.0.6

27 Dec 09:50
Compare
Choose a tag to compare

Fixed minor bugs

Version 0.0.5

26 Dec 23:55
Compare
Choose a tag to compare

Initial version