Skip to content

Version 0.1.0

Compare
Choose a tag to compare
@randilfernando randilfernando released this 06 Jan 07:57
· 4 commits to master since this release

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.