0.11.5 • Published 9 months ago
jazz-auth-clerk v0.11.5
jazz-browser-auth-clerk
This package provides a Clerk-based authentication strategy for Jazz.
Looking for a React integration? Check out jazz-react-auth-clerk.
Usage
BrowserClerkAuth is a class that provides a JazzAuth object. Provide a Clerk instance to BrowserClerkAuth, and it will return the appropriate JazzAuth object. Once authenticated, authentication will persist across page reloads, even if the device is offline.
From the example app:
import { BrowserClerkAuth } from "jazz-browser-auth-clerk";
// ...
const auth = new BrowserClerkAuth(
{
onError: (error) => {
void clerk.signOut();
setState((state) => ({
...state,
errors: [...state.errors, error.toString()],
}));
},
},
clerk,
);0.11.5
9 months ago
0.11.4
9 months ago
0.11.3
9 months ago
0.11.2
9 months ago
0.11.0
9 months ago
0.10.15
9 months ago
0.10.14
9 months ago
0.10.13
9 months ago
0.10.12
9 months ago
0.10.9
10 months ago
0.10.8
10 months ago
0.10.7
10 months ago
0.10.6
10 months ago
0.10.5
10 months ago
0.10.4
10 months ago
0.10.3
10 months ago
0.10.2
10 months ago
0.10.1
10 months ago
0.10.0
10 months ago