UNPKG

@adonisjs/ally

Version:

Social authentication provider for AdonisJS

16 lines (15 loc) 438 B
import type { ApplicationService } from '@adonisjs/core/types'; import type { AllyService } from '../src/types.js'; declare module '@adonisjs/core/http' { interface HttpContext { ally: AllyService; } } /** * AllyProvider extends the HTTP context with the "ally" property */ export default class AllyProvider { protected app: ApplicationService; constructor(app: ApplicationService); boot(): Promise<void>; }