fix: commit vendored @kuns/zitadel-auth dist (was excluded by dist/ gitignore)
This commit is contained in:
26
vendor/zitadel-auth/dist/index.d.ts
vendored
Normal file
26
vendor/zitadel-auth/dist/index.d.ts
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import { Z as ZitadelAuthConfig, a as ZitadelUser, A as AuthState } from './types-C5b7Bv-t.js';
|
||||
|
||||
declare class ZitadelAuth {
|
||||
private manager;
|
||||
private currentUser;
|
||||
private _isLoading;
|
||||
private _error;
|
||||
private listeners;
|
||||
private redirectGuard;
|
||||
private prefix;
|
||||
constructor(config: ZitadelAuthConfig);
|
||||
get isAuthenticated(): boolean;
|
||||
get isLoading(): boolean;
|
||||
get user(): ZitadelUser | null;
|
||||
get accessToken(): string | null;
|
||||
get error(): string | null;
|
||||
init(): Promise<void>;
|
||||
login(): void;
|
||||
logout(): Promise<void>;
|
||||
requireAuth(): boolean;
|
||||
fetch(url: string, init?: RequestInit): Promise<Response>;
|
||||
onAuthChange(cb: (state: AuthState) => void): () => void;
|
||||
private notify;
|
||||
}
|
||||
|
||||
export { AuthState, ZitadelAuth, ZitadelAuthConfig, ZitadelUser };
|
||||
Reference in New Issue
Block a user