mirror of
				https://github.com/Dan6erbond/sk-auth.git
				synced 2025-10-26 10:22:56 +01:00 
			
		
		
		
	🎨 Make Auth class default export of lib
				
					
				
			This commit is contained in:
		
							parent
							
								
									e13255116c
								
							
						
					
					
						commit
						80e09b72e8
					
				@ -1,4 +1,4 @@
 | 
			
		||||
import { Auth } from "svelte-kit-auth";
 | 
			
		||||
import SvelteKitAuth from "svelte-kit-auth";
 | 
			
		||||
import {
 | 
			
		||||
  FacebookAuthProvider,
 | 
			
		||||
  GoogleOAuthProvider,
 | 
			
		||||
@ -6,7 +6,7 @@ import {
 | 
			
		||||
  TwitterAuthProvider,
 | 
			
		||||
} from "svelte-kit-auth/providers";
 | 
			
		||||
 | 
			
		||||
export const appAuth = new Auth({
 | 
			
		||||
export const appAuth = new SvelteKitAuth({
 | 
			
		||||
  providers: [
 | 
			
		||||
    new GoogleOAuthProvider({
 | 
			
		||||
      clientId: import.meta.env.VITE_GOOGLE_OAUTH_CLIENT_ID,
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,7 @@
 | 
			
		||||
export { Auth } from "./auth";
 | 
			
		||||
import { Auth } from "./auth";
 | 
			
		||||
 | 
			
		||||
export { JWT, Session, User } from "./interfaces";
 | 
			
		||||
export { Provider } from "./providers";
 | 
			
		||||
export { CallbackResult, Profile } from "./types";
 | 
			
		||||
 | 
			
		||||
export default Auth;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user