rest_api_client 2.3.1 rest_api_client: ^2.3.1 copied to clipboard
Abstraction for communicating with REST API in flutter projects. Incorporates exception handling and jwt with refresh token authorization.
[2.3.1] #
[2.3.0] #
- RefreshTokenStrategy added for preemtively refreshing token on expiry
[2.2.28] #
- Headers getter exposed
[2.2.27] #
- parser -> onSuccess & onError
[2.2.26] #
- override
[2.2.25] #
- Upgraded dependencies
[2.2.24] #
- Upgraded dependencies
[2.2.23] #
- Upgraded dependencies
[2.2.22] #
- Result dio response added
[2.2.21] #
- Updated docs
[2.2.20] #
- Return data in Network result on error
[2.2.19] #
- Exposed jwt and refreshToken getters, exposed refreshToken() method for manual refresh
[2.2.18] #
- Silent exceptions
[2.2.17] #
- Browser Client Adapter updated
[2.2.16] #
- Refresh token interceptor fix
[2.2.15] #
- HttpStatus.unprocessableEntity exception validation messages
[2.2.14] #
- Cache storage reset flag
[2.2.13] #
- CacheHandler bugfix
[2.2.12] #
- CacheHandler bugfix
[2.2.11] #
- CacheHandler bugfix
[2.2.10] #
- CacheHandler bugfix
[2.2.9] #
- authenticate -> authorize
[2.2.8] #
- Logging fix
[2.2.7] #
- Cache lifetime duration added
[2.2.6] #
- Updated naming convention (I
[2.2.5] #
- Upgraded dependencies
[2.2.4] #
- Upgraded dependencies
[2.2.3] #
- Download method result updated
[2.2.2] #
- Upgraded dependencies
[2.2.1] #
- Download method progress added
[2.2.0] #
- Updated README
[2.1.9] #
- Renamed auth methods
[2.1.8] #
- Add or update headers
[2.1.7] #
- Result update
[2.1.6] #
- Upgraded dependencies
[2.1.5] #
- Renamed Headers constants to RestApiClientHeaders
[2.1.4] #
- Added optional refresh token request overrides and optional interceptors
[2.1.3] #
- Send JWT header on refresh token endpoint
[2.1.2] #
- Licence update
[2.1.1] #
- Result fix
[2.1.0] #
- Specify cacheEnabled explicitly on post method
[2.0.5] #
- Minor refresh token fixes
[2.0.4] #
- Upgraded dependencies
[2.0.3] #
- Added dio adapter stub for web support
[2.0.2] #
- BrowserHttpClientAdapter added for web support
[2.0.1] #
- parser results in FutureOr
[2.0.0] #
- Major refactoring
[1.1.17] #
- Upgraded dependencies
[1.1.16] #
- SSL CERTIFICATE override
[1.1.15] #
- Unlock requests and responsesonce refresh token exception happens (fix)
[1.1.14] #
- BadCertificate flag override option added
[1.1.13] #
- Added logging options for storage and cache storage
[1.1.12] #
- Cache key fix
[1.1.11] #
- Cache key hash added
[1.1.10] #
- JWT and refresh token getters exposed
[1.1.9] #
- JWT and refresh token getters exposed
[1.1.8] #
- Cache key additional parameters
[1.1.7] #
- Upgraded dependencies and added default keys
[1.1.6] #
- Upgraded dependencies
[1.1.5] #
- Upgraded dependencies
[1.1.4] #
- Encryption key logic fix
[1.1.3] #
- Added logging options
[1.1.2] #
- Upgraded dependencies
[1.1.1] #
- Upgraded dependencies
[1.1.0] #
- Upgraded dependencies
[1.0.26] #
- Upgraded dependencies
[1.0.25] #
- Upgraded dependencies
[1.0.24] #
- Upgraded dependencies
[1.0.23] #
- JWT fix
[1.0.22] #
- Updated dependencies and moved to secure storage
[1.0.21] #
- Ignore bad SSL certificate
[1.0.20] #
- Removed global caching
[1.0.19] #
- Removed unused logging
[1.0.18] #
- Updated dependencies
[1.0.17] #
- Status code 404 added
[1.0.16] #
- Added caching option for GET requests
[1.0.15] #
- Added connectivity and request retrier on lost connection
[1.0.10] #
- Added Multipart Form Data constant key
[1.0.9] #
- Barrel files
[1.0.8] #
- RestApiClientException renamed to BaseException
[1.0.7] #
- Forbidden and unauthorized exception
[1.0.5] #
- Updated storage_repository
[1.0.4] #
- Null safety
[1.0.3] #
- Exception option fixes
[1.0.1] #
- Upgraded to dio 4.0.0
[1.0.0] #
- Stable version
[0.0.19] #
- Refresh token fixes
[0.0.18] #
- Reverted null safety until dio upgrades
[0.0.17] #
- isAuthorized method fixed
[0.0.15] #
- Base url set in constructor
[0.0.14] #
- Init called for secure storage
[0.0.13] #
- Error handling documentation
[0.0.12] #
- Documented code
[0.0.1] #
- Initial release