fix(core): update

This commit is contained in:
2020-03-25 15:16:03 +00:00
parent aa709985ae
commit b42c700a28
7 changed files with 72 additions and 50 deletions

View File

@@ -0,0 +1,16 @@
import * as plugins from './sdk.plugins';
export abstract class AAgHandler {
public authenticationHandler: any;
/**
* a slug that separates the handler from other handlers
*/
public abstract slug: string;
public abstract handleRequest (request: plugins.tsclass.network.ISimpleRequest): Promise<plugins.tsclass.network.ISimpleResponse>;
public setAuthenticationHandler(authHandler) {
this.authenticationHandler = authHandler;
}
}