@lucasroll62/nuxt3-auth
Version:
An alternative module to @nuxtjs/auth
9 lines (8 loc) • 398 B
TypeScript
import type { SchemeOptions } from './scheme';
import type { PartialExcept } from './utils';
export interface ProviderOptions {
scheme: string;
clientSecret: string | number;
}
export type ProviderOptionsKeys = Exclude<keyof ProviderOptions, 'clientSecret'>;
export type ProviderPartialOptions<Options extends ProviderOptions & SchemeOptions> = PartialExcept<Options, ProviderOptionsKeys>;