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

feat(lunox-auth): export Auth method to @lunoxjs/auth #44

Merged
merged 1 commit into from
May 10, 2023
Merged

Conversation

axmad386
Copy link
Member

@axmad386 axmad386 commented May 9, 2023

This PR remove Authenticatin module from @lunoxjs/core and move that to @lunoxjs/auth. So this is breaking change.

Whats changed

  • Request.auth() method is removed from @lunoxjs/core. Install @lunoxjs/auth and register the AuthServiceProvider to use Request.auth() method
  • AuthManager now can register custom driver and userProvider. This is still experimental and may change in the future
  • Better module augmentation for Request instance that exported from @lunoxjs/core/contracts.

@axmad386 axmad386 merged commit af651e0 into next May 10, 2023
@axmad386 axmad386 deleted the auth branch May 10, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant