Initial commit

This commit is contained in:
AI
2026-05-03 07:26:12 +00:00
commit 776d374b59
57 changed files with 15968 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import type { ComputedRef, Ref } from 'vue'
import type { AuthUser } from '~/stores/auth'
export type AuthMode = 'disabled' | 'mock' | 'userinfo'
export interface AuthClient {
mode: AuthMode
isEnabled: boolean
isReady: Ref<boolean>
isAuthenticated: ComputedRef<boolean>
user: Ref<AuthUser | null>
ensureInitialized: () => Promise<void>
login: () => void | Promise<void>
logout: () => void | Promise<void>
}