UNPKG

@analog-tools/auth

Version:

Authentication module for AnalogJS applications

11 lines (10 loc) 414 B
import { H3Event } from 'h3'; import { AnalogAuthConfig } from '../types/auth.types'; /** * Configures and initializes the OAuth authentication service * * @param config The OAuth authentication configuration * @param event The H3 event object * @throws Error if any mandatory configuration values are missing */ export declare function useAnalogAuth(config: AnalogAuthConfig, event: H3Event): Promise<any>;