Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Allow loading offline sessions from loadCurrentSession #119

Merged
merged 1 commit into from
Mar 2, 2021

Conversation

paulomarg
Copy link
Contributor

WHY are these changes introduced?

Currently, the loadCurrentSession method doesn't allow loading offline sessions from the request, which is desired for some apps.

WHAT is this pull request doing?

Adding an optional parameter (defaulting to online) to allow returning offline sessions as well as online ones.

Type of change

  • Patch: Bug (non-breaking change which fixes an issue)
  • Minor: New feature (non-breaking change which adds functionality)
  • Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above
  • I have added/updated tests for this change
  • I have documented new APIs/updated the documentation for modified APIs (for public APIs)

@paulomarg paulomarg requested a review from a team as a code owner March 1, 2021 21:59
@paulomarg paulomarg force-pushed the load_offline_sessions_from_requests branch from dfa1a37 to ac9c03c Compare March 1, 2021 22:01
docs/usage/oauth.md Outdated Show resolved Hide resolved
src/auth/oauth/oauth.ts Outdated Show resolved Hide resolved
src/utils/delete-current-session.ts Outdated Show resolved Hide resolved
src/utils/load-current-session.ts Outdated Show resolved Hide resolved
src/utils/test/load-current-session.test.ts Outdated Show resolved Hide resolved
src/auth/oauth/oauth.ts Outdated Show resolved Hide resolved
@paulomarg paulomarg force-pushed the load_offline_sessions_from_requests branch from a007bce to 4db4974 Compare March 2, 2021 14:19
@paulomarg paulomarg merged commit e69a93d into main Mar 2, 2021
@paulomarg paulomarg deleted the load_offline_sessions_from_requests branch March 2, 2021 15:19
@paulomarg paulomarg temporarily deployed to production March 2, 2021 15:25 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants