@mridang/nestjs-auth
Version:
A comprehensive Auth.js integration for NestJS applications with TypeScript support, framework-agnostic HTTP adapters, and role-based access control
10 lines (9 loc) • 336 B
TypeScript
import { HttpAdapterHost } from '@nestjs/core';
import { HttpAdapter } from '../adapters/http.adapter.js';
/**
* Factory to create the appropriate HTTP adapter based on the
* underlying HTTP server being used.
*/
export declare class AdapterFactory {
static create(adapterHost: HttpAdapterHost): HttpAdapter<unknown, unknown>;
}