mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-03 23:36:21 +02:00
32 lines
822 B
TypeScript
32 lines
822 B
TypeScript
/**
|
|
* @adonisjs/session
|
|
*
|
|
* (c) Harminder Virk <virk@adonisjs.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
/// <reference types="@adonisjs/application/build/adonis-typings" />
|
|
import { ApplicationContract } from '@ioc:Adonis/Core/Application';
|
|
/**
|
|
* Session provider for AdonisJS
|
|
*/
|
|
export default class SessionProvider {
|
|
protected app: ApplicationContract;
|
|
constructor(app: ApplicationContract);
|
|
static needsApplication: boolean;
|
|
/**
|
|
* Register Session Manager
|
|
*/
|
|
register(): void;
|
|
/**
|
|
* Register bindings for tests
|
|
*/
|
|
protected registerTestsBindings(): void;
|
|
/**
|
|
* Register server bindings
|
|
*/
|
|
protected registerServerBindings(): void;
|
|
boot(): void;
|
|
}
|