Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[React] Implement core config and context for React SDK #60

Merged
merged 4 commits into from
Apr 17, 2024

Conversation

JakeLo123
Copy link
Collaborator

@JakeLo123 JakeLo123 commented Apr 16, 2024

What is this PR and why do we need it?

#59 -- This is to implement the core package config and context for FusionAuthProvider in the React SDK.

The SDK should provide:

  • isLoggedIn property
  • userInfo property
  • error property
  • isFetchingUserInfo property
  • fetchUserInfo method
  • refreshToken method
  • initAutoRefresh method
  • startLogin, startRegister, startLogout methods
  • shouldAutoRefresh config option
  • shouldAutoFetchUserInfo config option
  • onRedirect config option

Pre-Merge Checklist (if applicable)

  • Unit and Feature tests have been added/updated for logic changes, or there is a justifiable reason for not doing so.

@JakeLo123 JakeLo123 added React SDK Core relating to the framework-agnostic core of the SDKs labels Apr 16, 2024
@JakeLo123 JakeLo123 self-assigned this Apr 16, 2024
@JakeLo123 JakeLo123 force-pushed the 59-react--implement-core-config-and-context branch from 7ff7931 to 80b0b0b Compare April 16, 2024 02:32
@JakeLo123 JakeLo123 force-pushed the 59-react--implement-core-config-and-context branch from 797b370 to 01985a4 Compare April 16, 2024 19:32
@JakeLo123 JakeLo123 force-pushed the 59-react--implement-core-config-and-context branch from 8154a2a to cac50dd Compare April 16, 2024 21:13
@JakeLo123 JakeLo123 merged commit c34d875 into main Apr 17, 2024
3 checks passed
@JakeLo123 JakeLo123 deleted the 59-react--implement-core-config-and-context branch April 25, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
React SDK Core relating to the framework-agnostic core of the SDKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants