Feat(authentication): Load auth providers (#6023)

* initial providers loader implementation

* registerAdd providers

* remove comment

* remove comment
This commit is contained in:
Philip Korsholm
2024-01-09 10:02:02 +01:00
committed by GitHub
parent fe81a5e49a
commit f065581736
11 changed files with 148 additions and 15 deletions
@@ -1,2 +1,3 @@
export * from "./service"
export * from "./common"
export * from "./provider"
@@ -0,0 +1,8 @@
export abstract class AbstractAuthenticationModuleProvider {
public static PROVIDER: string
public static DISPLAY_NAME: string
abstract authenticate(
data: Record<string, unknown>
): Promise<Record<string, unknown>>
}