UNPKG

@lucasroll62/nuxt3-auth

Version:

An alternative module to @nuxtjs/auth

10 lines (9 loc) 426 B
import type { SchemeOptions } from './scheme'; import type { ProviderPartialOptions, ProviderOptions } from './provider'; export interface Strategy extends SchemeOptions { provider?: string | ((...args: any[]) => any); scheme?: string; enabled?: boolean; [option: string]: any; } export type StrategyOptions<SOptions extends SchemeOptions = SchemeOptions> = ProviderPartialOptions<ProviderOptions & SOptions>;