novx
    Preparing search index...

    Interface Authentication<R, U, T>

    Authentication is repsonsible to establish and delete a user session.

    U the user type

    T the ticket type

    interface Authentication<R = any, U = any, T = any> {
        login(request: R): Promise<Session<U, T>>;
        logout(): Promise<void>;
        start(): Promise<Session<U, T> | null>;
    }

    Type Parameters

    • R = any

      any information requires to trigger the login

    • U = any
    • T = any

    Implemented by

    Index

    Methods