Files
operator/src/services/authentik/authentik.service.ts
Morten Olsen 26b58a59c0 lot of updates
2025-08-01 14:40:16 +02:00

22 lines
483 B
TypeScript

import type { Services } from '../../utils/service.ts';
import type { AuthentikServerInfo } from './authentik.types.ts';
import { AuthentikInstance } from './authentik.instance.ts';
class AuthentikService {
#services: Services;
constructor(services: Services) {
this.#services = services;
}
public get = async (info: AuthentikServerInfo) => {
return new AuthentikInstance({
info,
services: this.#services,
});
};
}
export { AuthentikService };