mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-11 15:12:39 +00:00
add opa, refactor auth to authentication
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
|
||||
@Injectable()
|
||||
export abstract class IMessageBroker {
|
||||
exchange: string;
|
||||
|
||||
constructor(exchange: string) {
|
||||
this.exchange = exchange;
|
||||
}
|
||||
|
||||
abstract publish(routingKey: string, message: string): void;
|
||||
}
|
||||
Reference in New Issue
Block a user