-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extract client auth code in a library (#1264)
Introduces a `@hilla/react-auth` package containing helpers for dealing with login, logout, retrieving auth state, and protecting routes.
- Loading branch information
Showing
20 changed files
with
1,914 additions
and
897 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
packages/java/hilla-react/src/main/java/dev/hilla/HillaReactAuth.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package dev.hilla; | ||
|
||
import com.vaadin.flow.component.dependency.NpmPackage; | ||
|
||
/** | ||
* Empty class that adds <code>@hilla/react-auth</code> npm package dependency. | ||
*/ | ||
@NpmPackage(value = "@hilla/react-auth", version = "2.2.0-beta1") | ||
public class HillaReactAuth { | ||
} |
Oops, something went wrong.