Interface authentication schemes.

interface SecurityAuthentication {
    applySecurityAuthentication(context: RequestContext): void | Promise<void>;
    getName(): string;
}

Implemented by

Methods

  • Applies the authentication scheme to the request context

    Parameters

    Returns void | Promise<void>

    context the request context which should use this authentication scheme