feat(oauth): add OAuth session caching to prevent multiple authentication attempts
This commit is contained in:
11
changelog.md
11
changelog.md
@@ -1,5 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-07-22 - 3.1.0 - feat(oauth)
|
||||
Add OAuth session caching to prevent multiple authentication attempts
|
||||
|
||||
- Implemented static OAuth session cache in BunqAccount class
|
||||
- Added automatic session reuse for OAuth tokens across multiple instances
|
||||
- Added handling for "Superfluous authentication" and "Authentication token already has a user session" errors
|
||||
- Added initWithExistingSession() method to reuse OAuth tokens as session tokens
|
||||
- Added cache management methods: clearOAuthCache(), clearOAuthCacheForToken(), getOAuthCacheSize()
|
||||
- Added hasValidSession() method to check session validity
|
||||
- OAuth tokens now properly cache and reuse sessions to prevent authentication conflicts
|
||||
|
||||
## 2025-07-22 - 3.0.8 - fix(oauth)
|
||||
Correct OAuth implementation to match bunq documentation
|
||||
|
||||
|
Reference in New Issue
Block a user