isa-auth 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,38 @@ This skill provides full reference, architecture details, and copy-paste recipes
25
25
 
26
26
  ## 🚀 2. Code Recipes
27
27
 
28
+ ### Recipe 0: Multi-Provider All-in-One Configuration (Recommended)
29
+ ```typescript
30
+ import { IsaAuth } from 'isa-auth';
31
+
32
+ // 1. Initialize multiple providers simultaneously
33
+ const auth = new IsaAuth({
34
+ storage: 'memory', // Production security default
35
+ providers: {
36
+ google: { clientId: 'GOOGLE_CLIENT_ID', callbackUrl: 'https://myapp.com/callback' },
37
+ kakao: { clientId: 'KAKAO_JAVASCRIPT_KEY', callbackUrl: 'https://myapp.com/callback' },
38
+ apple: { clientId: 'com.myapp.service', callbackUrl: 'https://myapp.com/callback' },
39
+ github: { clientId: 'GITHUB_CLIENT_ID', callbackUrl: 'https://myapp.com/callback' },
40
+ passkey: { rpName: 'My Enterprise App', rpId: 'myapp.com' },
41
+ },
42
+ });
43
+
44
+ // 2. Trigger individual provider login
45
+ await auth.signIn('kakao');
46
+ // or
47
+ await auth.signIn('google');
48
+
49
+ // 3. Render buttons: individual or all at once
50
+ auth.renderButton('github', document.getElementById('gh-slot'));
51
+ auth.renderAllButtons(document.getElementById('social-login-grid'), {
52
+ direction: 'grid', // 'grid' | 'column' | 'row'
53
+ gap: '12px',
54
+ });
55
+
56
+ // 4. Query registered providers
57
+ console.log(auth.getRegisteredProviders()); // ['google', 'kakao', 'apple', 'github', 'passkey']
58
+ ```
59
+
28
60
  ### Recipe A: World ID (World Network / Orb Verification)
29
61
  ```typescript
30
62
  import { IsaAuth } from 'isa-auth';
@@ -127,15 +159,28 @@ const guard = auth.createNavigationGuard({
127
159
  });
128
160
  ```
129
161
 
130
- ### Recipe F: HttpOnly Cookie / Hybrid Session Storage
162
+ ### Recipe F: Storage Security & Development Modes
131
163
  ```typescript
132
164
  import { IsaAuth } from 'isa-auth';
133
165
 
134
- // In BFF setups where tokens live exclusively in HttpOnly cookies:
135
- const auth = new IsaAuth({
166
+ // 1. [PRODUCTION DEFAULT] Zero XSS In-Memory Storage (Recommended for SPA)
167
+ const secureAuth = new IsaAuth({
168
+ provider: 'jwt',
169
+ storage: 'memory', // Default! Tokens never touch localStorage.
170
+ });
171
+
172
+ // 2. [PRODUCTION RECOMMENDED] HttpOnly Cookie / BFF Architecture
173
+ const cookieAuth = new IsaAuth({
136
174
  provider: 'base',
137
175
  storage: 'cookie', // CookieSessionStorageAdapter omits client JWT persistence
138
176
  });
177
+
178
+ // 3. [LOCAL DEV ONLY] Insecure LocalStorage for F5 Refresh Convenience
179
+ const devAuth = new IsaAuth({
180
+ provider: 'google',
181
+ clientId: 'dev-client-id',
182
+ storage: 'dev_insecure_localStorage', // Explicitly warns in console that this is NOT for production!
183
+ });
139
184
  ```
140
185
 
141
186
  ---
package/README.md CHANGED
@@ -74,21 +74,60 @@ pnpm add isa-auth
74
74
 
75
75
  ## 🚀 Quick Start Recipes
76
76
 
77
- ### 1. Unified Authentication Instance
77
+ ### 1. Multi-Provider All-in-One Configuration (Recommended)
78
+
79
+ Manage multiple social logins, developer platforms, and Web3/Passkey authentication simultaneously in a single application instance:
80
+
81
+ ```typescript
82
+ import { IsaAuth } from 'isa-auth';
83
+
84
+ // 1. Initialize with multiple providers at once
85
+ const auth = new IsaAuth({
86
+ storage: 'memory', // Production security default
87
+ providers: {
88
+ google: { clientId: 'GOOGLE_CLIENT_ID', callbackUrl: 'https://myapp.com/callback' },
89
+ kakao: { clientId: 'KAKAO_JAVASCRIPT_KEY', callbackUrl: 'https://myapp.com/callback' },
90
+ apple: { clientId: 'com.myapp.service', callbackUrl: 'https://myapp.com/callback' },
91
+ github: { clientId: 'GITHUB_CLIENT_ID', callbackUrl: 'https://myapp.com/callback' },
92
+ passkey: { rpName: 'My App', rpId: 'myapp.com' },
93
+ },
94
+ });
95
+
96
+ // 2-A. Trigger a specific provider login programmatically
97
+ await auth.signIn('kakao');
98
+ // or
99
+ await auth.signIn('google');
100
+
101
+ // 2-B. Render individual provider button
102
+ auth.renderButton('github', document.getElementById('github-btn-slot'));
103
+
104
+ // 2-C. Render all buttons at once with customizable layout (grid / column / row)
105
+ auth.renderAllButtons(document.getElementById('social-login-container'), {
106
+ direction: 'grid', // 'grid' | 'column' | 'row'
107
+ gap: '12px',
108
+ });
109
+
110
+ // 3. Inspect registered providers
111
+ console.log(auth.getRegisteredProviders()); // ['google', 'kakao', 'apple', 'github', 'passkey']
112
+ ```
113
+
114
+ ---
115
+
116
+ ### 1-B. Single-Provider Configuration (Legacy & Simple Apps)
78
117
 
79
118
  ```typescript
80
119
  import { IsaAuth } from 'isa-auth';
81
120
 
82
- // Initialize with any provider
121
+ // Initialize with a single provider
83
122
  const auth = new IsaAuth({
84
123
  provider: 'google', // 'google' | 'apple' | 'meta' | 'github' | 'discord' | 'web3' | 'world' | 'passkey'
85
124
  clientId: 'YOUR_CLIENT_ID',
86
125
  callbackUrl: 'https://myapp.com/auth/callback',
87
- storage: 'localStorage', // 'localStorage' | 'sessionStorage' | 'memory' | 'cookie'
126
+ storage: 'memory',
88
127
  storagePrefix: 'myapp',
89
128
  });
90
129
 
91
- // Render headless button to a DOM container
130
+ // Render button to a DOM container
92
131
  auth.renderButton(document.getElementById('login-container'));
93
132
 
94
133
  // Listen to authentication changes
package/dist/index.d.mts CHANGED
@@ -1723,38 +1723,51 @@ declare namespace index {
1723
1723
  export { type index_ButtonRenderInfo as ButtonRenderInfo, index_registerWebComponent as registerWebComponent, index_renderByJs as renderByJs, index_renderByReact as renderByReact, index_renderByVue as renderByVue };
1724
1724
  }
1725
1725
 
1726
+ interface ProviderOptionConfig {
1727
+ clientId?: string;
1728
+ callbackUrl?: string;
1729
+ scope?: string;
1730
+ extraOptions?: Record<string, any>;
1731
+ [key: string]: any;
1732
+ }
1726
1733
  interface IsaAuthConfig {
1727
1734
  provider?: CoreProviderType;
1728
- secret?: string;
1729
1735
  clientId?: string;
1730
1736
  callbackUrl?: string;
1731
1737
  scope?: string;
1738
+ extraOptions?: Record<string, any>;
1739
+ providers?: Partial<Record<CoreProviderType, ProviderOptionConfig>>;
1740
+ secret?: string;
1732
1741
  storage?: StorageType;
1733
1742
  storagePrefix?: string;
1734
- extraOptions?: Record<string, any>;
1735
1743
  }
1736
1744
  /**
1737
1745
  * Main unified entry point for ISA-AUTH
1746
+ * Supports both Single Provider and Multi-Provider unified orchestration.
1738
1747
  */
1739
1748
  declare class IsaAuth {
1749
+ config: IsaAuthConfig;
1740
1750
  core: AuthCore;
1741
1751
  providerInstance: any;
1742
1752
  authProvider: AuthProvider;
1743
1753
  providerType: CoreProviderType;
1754
+ private providerInstances;
1755
+ private authProviders;
1744
1756
  constructor(config?: IsaAuthConfig);
1757
+ private instantiateProvider;
1745
1758
  isAuthenticated(): boolean;
1746
1759
  getAccessToken(): string | null;
1747
1760
  getUserInfo(): Promise<any>;
1748
1761
  getContext(): AuthContext;
1749
1762
  /**
1750
- * Returns current provider category ('social' | 'developer' | 'web3' | 'identity' | null)
1763
+ * Returns category of the specified or primary provider
1751
1764
  */
1752
- getCategory(): ProviderCategory | null;
1765
+ getCategory(provider?: CoreProviderType): ProviderCategory | null;
1753
1766
  setAccessToken(token: string): void;
1754
1767
  getRefreshToken(): string | null;
1755
1768
  setRefreshToken(token: string): void;
1756
1769
  updateAuthInfo<T = any>(partial: Partial<T>): T;
1757
- signIn(): Promise<void>;
1770
+ signIn(provider?: CoreProviderType): Promise<any>;
1758
1771
  signOut(): void;
1759
1772
  refresh(refreshFn: () => Promise<string>): Promise<string>;
1760
1773
  /**
@@ -1765,7 +1778,7 @@ declare class IsaAuth {
1765
1778
  * Stops automatic background token refresh
1766
1779
  */
1767
1780
  stopAutoRefresh(): void;
1768
- getButton(): {
1781
+ getButton(provider?: CoreProviderType): LoginButton | {
1769
1782
  className: string;
1770
1783
  onClick: () => Promise<void>;
1771
1784
  id: string;
@@ -1776,29 +1789,29 @@ declare class IsaAuth {
1776
1789
  style: Partial<CSSStyleDeclaration>;
1777
1790
  fullWidth: boolean;
1778
1791
  };
1779
- renderButton(container?: HTMLElement | null): HTMLButtonElement | null;
1780
- hasRole(role: string): boolean;
1781
- hasPermission(permission: string): boolean;
1782
1792
  /**
1783
- * Check permission with wildcard matching support
1784
- * E.g. isaAuth.can('users:read') or isaAuth.can(['users:read', 'users:write'])
1793
+ * Renders button for specified provider (or primary provider if omitted)
1794
+ * Usage:
1795
+ * auth.renderButton(container); // primary provider
1796
+ * auth.renderButton('google', container); // specific provider
1785
1797
  */
1786
- can(permission: string | string[], matchAll?: boolean): boolean;
1798
+ renderButton(providerOrContainer?: CoreProviderType | HTMLElement | null, container?: HTMLElement | null): HTMLButtonElement | null;
1787
1799
  /**
1788
- * Check role with optional matchAll option
1800
+ * Renders all registered provider buttons inside a container element.
1789
1801
  */
1802
+ renderAllButtons(container: HTMLElement, options?: {
1803
+ providers?: CoreProviderType[];
1804
+ direction?: 'row' | 'column' | 'grid';
1805
+ gap?: string;
1806
+ }): HTMLButtonElement[];
1807
+ getProviderInstance(provider?: CoreProviderType): any;
1808
+ getRegisteredProviders(): CoreProviderType[];
1809
+ hasRole(role: string): boolean;
1810
+ hasPermission(permission: string): boolean;
1811
+ can(permission: string | string[], matchAll?: boolean): boolean;
1790
1812
  is(role: string | string[], matchAll?: boolean): boolean;
1791
- /**
1792
- * Evaluates guard and returns detailed GuardResult
1793
- */
1794
1813
  evaluateGuard(options: AuthGuardOptions, customContext?: Partial<AuthContext>): Promise<GuardResult>;
1795
- /**
1796
- * Instant boolean guard check (backwards compatible)
1797
- */
1798
1814
  createGuard(options: AuthGuardOptions): Promise<boolean>;
1799
- /**
1800
- * Creates a reusable router navigation guard
1801
- */
1802
1815
  createNavigationGuard(options: AuthGuardOptions & {
1803
1816
  redirectToOnUnauthenticated?: string;
1804
1817
  redirectToOnUnauthorized?: string;
@@ -1835,4 +1848,4 @@ declare class IsaAuth {
1835
1848
  subscribe(callback: (isAuthenticated: boolean) => void): void | (() => void);
1836
1849
  }
1837
1850
 
1838
- export { AppleAuthProvider, AuthBaseService, type AuthContext, AuthCore, type AuthFetchOptions, type AuthGuardOptions, type AuthHttpOptions, AuthProvider, type AutoRefreshOptions, CookieSessionStorageAdapter, DiscordAuthProvider, FacebookAuthProvider, GithubAuthProvider, GoogleAuthProvider, type GuardFailureReason, type GuardResult, HttpTokenExchangeAdapter, IsaAuth, type IsaAuthConfig, JwtService, KakaoAuthProvider, LineAuthProvider, LocalStorageAdapter, type MatchMode, MemoryStorageAdapter, MetaAuthProvider, NaverAuthProvider, type PasskeyAssertionResult, PasskeyAuthProvider, type ProviderCategory, type RoleHierarchyMap, SessionStorageAdapter, type StorageConfig, type StorageType, type TokenExchangeAdapter, type TokenExchangeResult, Web3AuthProvider, WorldAuthProvider, type WorldIDProofResult, type WorldVerificationLevel, applyAuthInterceptor, batch, buildAuthorizeUrl, checkPermission, checkRole, clearStoreSession, configureStorage, createAuthAxios, createAuthFetch, createAuthGuard, createNavigationGuard, decodeToken, IsaAuth as default, developerProviders, evaluateGuard, generateCodeChallenge, generateCodeVerifier, getAccessToken, getAuthInfo, getAuthState, getProviderCategory, getProvidersByCategory, getRefreshToken, getStorageAdapter, getTokenFromHeader, getTokenPayload, getTokenTimeRemaining, identityProviders, isExpiredToken, matchPermissionRule, parseOAuthCallback, index as renderers, resolveInheritedRoles, setRefreshToken, socialProviders, subscribeSelector, updateAuthInfo, web3Providers };
1851
+ export { AppleAuthProvider, AuthBaseService, type AuthContext, AuthCore, type AuthFetchOptions, type AuthGuardOptions, type AuthHttpOptions, AuthProvider, type AutoRefreshOptions, CookieSessionStorageAdapter, DiscordAuthProvider, FacebookAuthProvider, GithubAuthProvider, GoogleAuthProvider, type GuardFailureReason, type GuardResult, HttpTokenExchangeAdapter, IsaAuth, type IsaAuthConfig, JwtService, KakaoAuthProvider, LineAuthProvider, LocalStorageAdapter, type MatchMode, MemoryStorageAdapter, MetaAuthProvider, NaverAuthProvider, type PasskeyAssertionResult, PasskeyAuthProvider, type ProviderCategory, type ProviderOptionConfig, type RoleHierarchyMap, SessionStorageAdapter, type StorageConfig, type StorageType, type TokenExchangeAdapter, type TokenExchangeResult, Web3AuthProvider, WorldAuthProvider, type WorldIDProofResult, type WorldVerificationLevel, applyAuthInterceptor, batch, buildAuthorizeUrl, checkPermission, checkRole, clearStoreSession, configureStorage, createAuthAxios, createAuthFetch, createAuthGuard, createNavigationGuard, decodeToken, IsaAuth as default, developerProviders, evaluateGuard, generateCodeChallenge, generateCodeVerifier, getAccessToken, getAuthInfo, getAuthState, getProviderCategory, getProvidersByCategory, getRefreshToken, getStorageAdapter, getTokenFromHeader, getTokenPayload, getTokenTimeRemaining, identityProviders, isExpiredToken, matchPermissionRule, parseOAuthCallback, index as renderers, resolveInheritedRoles, setRefreshToken, socialProviders, subscribeSelector, updateAuthInfo, web3Providers };
package/dist/index.d.ts CHANGED
@@ -1723,38 +1723,51 @@ declare namespace index {
1723
1723
  export { type index_ButtonRenderInfo as ButtonRenderInfo, index_registerWebComponent as registerWebComponent, index_renderByJs as renderByJs, index_renderByReact as renderByReact, index_renderByVue as renderByVue };
1724
1724
  }
1725
1725
 
1726
+ interface ProviderOptionConfig {
1727
+ clientId?: string;
1728
+ callbackUrl?: string;
1729
+ scope?: string;
1730
+ extraOptions?: Record<string, any>;
1731
+ [key: string]: any;
1732
+ }
1726
1733
  interface IsaAuthConfig {
1727
1734
  provider?: CoreProviderType;
1728
- secret?: string;
1729
1735
  clientId?: string;
1730
1736
  callbackUrl?: string;
1731
1737
  scope?: string;
1738
+ extraOptions?: Record<string, any>;
1739
+ providers?: Partial<Record<CoreProviderType, ProviderOptionConfig>>;
1740
+ secret?: string;
1732
1741
  storage?: StorageType;
1733
1742
  storagePrefix?: string;
1734
- extraOptions?: Record<string, any>;
1735
1743
  }
1736
1744
  /**
1737
1745
  * Main unified entry point for ISA-AUTH
1746
+ * Supports both Single Provider and Multi-Provider unified orchestration.
1738
1747
  */
1739
1748
  declare class IsaAuth {
1749
+ config: IsaAuthConfig;
1740
1750
  core: AuthCore;
1741
1751
  providerInstance: any;
1742
1752
  authProvider: AuthProvider;
1743
1753
  providerType: CoreProviderType;
1754
+ private providerInstances;
1755
+ private authProviders;
1744
1756
  constructor(config?: IsaAuthConfig);
1757
+ private instantiateProvider;
1745
1758
  isAuthenticated(): boolean;
1746
1759
  getAccessToken(): string | null;
1747
1760
  getUserInfo(): Promise<any>;
1748
1761
  getContext(): AuthContext;
1749
1762
  /**
1750
- * Returns current provider category ('social' | 'developer' | 'web3' | 'identity' | null)
1763
+ * Returns category of the specified or primary provider
1751
1764
  */
1752
- getCategory(): ProviderCategory | null;
1765
+ getCategory(provider?: CoreProviderType): ProviderCategory | null;
1753
1766
  setAccessToken(token: string): void;
1754
1767
  getRefreshToken(): string | null;
1755
1768
  setRefreshToken(token: string): void;
1756
1769
  updateAuthInfo<T = any>(partial: Partial<T>): T;
1757
- signIn(): Promise<void>;
1770
+ signIn(provider?: CoreProviderType): Promise<any>;
1758
1771
  signOut(): void;
1759
1772
  refresh(refreshFn: () => Promise<string>): Promise<string>;
1760
1773
  /**
@@ -1765,7 +1778,7 @@ declare class IsaAuth {
1765
1778
  * Stops automatic background token refresh
1766
1779
  */
1767
1780
  stopAutoRefresh(): void;
1768
- getButton(): {
1781
+ getButton(provider?: CoreProviderType): LoginButton | {
1769
1782
  className: string;
1770
1783
  onClick: () => Promise<void>;
1771
1784
  id: string;
@@ -1776,29 +1789,29 @@ declare class IsaAuth {
1776
1789
  style: Partial<CSSStyleDeclaration>;
1777
1790
  fullWidth: boolean;
1778
1791
  };
1779
- renderButton(container?: HTMLElement | null): HTMLButtonElement | null;
1780
- hasRole(role: string): boolean;
1781
- hasPermission(permission: string): boolean;
1782
1792
  /**
1783
- * Check permission with wildcard matching support
1784
- * E.g. isaAuth.can('users:read') or isaAuth.can(['users:read', 'users:write'])
1793
+ * Renders button for specified provider (or primary provider if omitted)
1794
+ * Usage:
1795
+ * auth.renderButton(container); // primary provider
1796
+ * auth.renderButton('google', container); // specific provider
1785
1797
  */
1786
- can(permission: string | string[], matchAll?: boolean): boolean;
1798
+ renderButton(providerOrContainer?: CoreProviderType | HTMLElement | null, container?: HTMLElement | null): HTMLButtonElement | null;
1787
1799
  /**
1788
- * Check role with optional matchAll option
1800
+ * Renders all registered provider buttons inside a container element.
1789
1801
  */
1802
+ renderAllButtons(container: HTMLElement, options?: {
1803
+ providers?: CoreProviderType[];
1804
+ direction?: 'row' | 'column' | 'grid';
1805
+ gap?: string;
1806
+ }): HTMLButtonElement[];
1807
+ getProviderInstance(provider?: CoreProviderType): any;
1808
+ getRegisteredProviders(): CoreProviderType[];
1809
+ hasRole(role: string): boolean;
1810
+ hasPermission(permission: string): boolean;
1811
+ can(permission: string | string[], matchAll?: boolean): boolean;
1790
1812
  is(role: string | string[], matchAll?: boolean): boolean;
1791
- /**
1792
- * Evaluates guard and returns detailed GuardResult
1793
- */
1794
1813
  evaluateGuard(options: AuthGuardOptions, customContext?: Partial<AuthContext>): Promise<GuardResult>;
1795
- /**
1796
- * Instant boolean guard check (backwards compatible)
1797
- */
1798
1814
  createGuard(options: AuthGuardOptions): Promise<boolean>;
1799
- /**
1800
- * Creates a reusable router navigation guard
1801
- */
1802
1815
  createNavigationGuard(options: AuthGuardOptions & {
1803
1816
  redirectToOnUnauthenticated?: string;
1804
1817
  redirectToOnUnauthorized?: string;
@@ -1835,4 +1848,4 @@ declare class IsaAuth {
1835
1848
  subscribe(callback: (isAuthenticated: boolean) => void): void | (() => void);
1836
1849
  }
1837
1850
 
1838
- export { AppleAuthProvider, AuthBaseService, type AuthContext, AuthCore, type AuthFetchOptions, type AuthGuardOptions, type AuthHttpOptions, AuthProvider, type AutoRefreshOptions, CookieSessionStorageAdapter, DiscordAuthProvider, FacebookAuthProvider, GithubAuthProvider, GoogleAuthProvider, type GuardFailureReason, type GuardResult, HttpTokenExchangeAdapter, IsaAuth, type IsaAuthConfig, JwtService, KakaoAuthProvider, LineAuthProvider, LocalStorageAdapter, type MatchMode, MemoryStorageAdapter, MetaAuthProvider, NaverAuthProvider, type PasskeyAssertionResult, PasskeyAuthProvider, type ProviderCategory, type RoleHierarchyMap, SessionStorageAdapter, type StorageConfig, type StorageType, type TokenExchangeAdapter, type TokenExchangeResult, Web3AuthProvider, WorldAuthProvider, type WorldIDProofResult, type WorldVerificationLevel, applyAuthInterceptor, batch, buildAuthorizeUrl, checkPermission, checkRole, clearStoreSession, configureStorage, createAuthAxios, createAuthFetch, createAuthGuard, createNavigationGuard, decodeToken, IsaAuth as default, developerProviders, evaluateGuard, generateCodeChallenge, generateCodeVerifier, getAccessToken, getAuthInfo, getAuthState, getProviderCategory, getProvidersByCategory, getRefreshToken, getStorageAdapter, getTokenFromHeader, getTokenPayload, getTokenTimeRemaining, identityProviders, isExpiredToken, matchPermissionRule, parseOAuthCallback, index as renderers, resolveInheritedRoles, setRefreshToken, socialProviders, subscribeSelector, updateAuthInfo, web3Providers };
1851
+ export { AppleAuthProvider, AuthBaseService, type AuthContext, AuthCore, type AuthFetchOptions, type AuthGuardOptions, type AuthHttpOptions, AuthProvider, type AutoRefreshOptions, CookieSessionStorageAdapter, DiscordAuthProvider, FacebookAuthProvider, GithubAuthProvider, GoogleAuthProvider, type GuardFailureReason, type GuardResult, HttpTokenExchangeAdapter, IsaAuth, type IsaAuthConfig, JwtService, KakaoAuthProvider, LineAuthProvider, LocalStorageAdapter, type MatchMode, MemoryStorageAdapter, MetaAuthProvider, NaverAuthProvider, type PasskeyAssertionResult, PasskeyAuthProvider, type ProviderCategory, type ProviderOptionConfig, type RoleHierarchyMap, SessionStorageAdapter, type StorageConfig, type StorageType, type TokenExchangeAdapter, type TokenExchangeResult, Web3AuthProvider, WorldAuthProvider, type WorldIDProofResult, type WorldVerificationLevel, applyAuthInterceptor, batch, buildAuthorizeUrl, checkPermission, checkRole, clearStoreSession, configureStorage, createAuthAxios, createAuthFetch, createAuthGuard, createNavigationGuard, decodeToken, IsaAuth as default, developerProviders, evaluateGuard, generateCodeChallenge, generateCodeVerifier, getAccessToken, getAuthInfo, getAuthState, getProviderCategory, getProvidersByCategory, getRefreshToken, getStorageAdapter, getTokenFromHeader, getTokenPayload, getTokenTimeRemaining, identityProviders, isExpiredToken, matchPermissionRule, parseOAuthCallback, index as renderers, resolveInheritedRoles, setRefreshToken, socialProviders, subscribeSelector, updateAuthInfo, web3Providers };