fix(core): update
This commit is contained in:
16
ts/sdk.classes.aghandler.ts
Normal file
16
ts/sdk.classes.aghandler.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user