feat: centralize application framework primitives
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { AuthEngine } from "./engine.ts";
|
||||
import type { AuthPasskeyHttpOptions } from "./http/index.ts";
|
||||
import type { AuthSessionVerificationHandler } from "./types.ts";
|
||||
import type { OAuthProvider } from "@wrnexus/oauth";
|
||||
import { resolveAuthSchemas, type AuthSchemaOverrides, type AuthSchemaSet } from "./validation.ts";
|
||||
|
||||
export interface DefaultAuthRouteOptions {
|
||||
@@ -9,6 +10,8 @@ export interface DefaultAuthRouteOptions {
|
||||
passkey?: AuthPasskeyHttpOptions;
|
||||
sessionCookieName?: string;
|
||||
onSessionVerification?: AuthSessionVerificationHandler;
|
||||
oauth?: Record<string, OAuthProvider>;
|
||||
oauthMfaPath?: string;
|
||||
}
|
||||
|
||||
interface AuthRuntimeState {
|
||||
|
||||
Reference in New Issue
Block a user