@breautek/storm
Version:
Object-Oriented REST API framework
19 lines (18 loc) • 649 B
TypeScript
import { Request } from './Request';
/**
* A base authentication strategy that handles 90% of the authentication process.
* This will verify that the token hasn't been manipulated or tainted.
* The authenticate API must be implemented by subclasses to further validate the token data
* for their specific use cases.
*/
export declare class BackendAuthenticationMiddleware {
private $logger;
constructor();
/**
*
* @param request
* @param response
* @param options Arbituary object containing any relevant information used for authentication.
*/
execute(request: Request, options?: any): Promise<any>;
}