Feat(authentication): Load auth providers (#6023)
* initial providers loader implementation * registerAdd providers * remove comment * remove comment
This commit is contained in:
1 parent
fe81a5e49a
commit
f065581736
11 files changed
+148
-15
No files matched your search
@@ -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>>
|
||||
}
|
||||
Reference in new issue
Block a user