@authhero/adapter-interfaces 0.153.0 → 0.154.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48663,6 +48663,7 @@ export interface GeoAdapter {
|
|
|
48663
48663
|
export interface AuthenticationMethodsAdapter {
|
|
48664
48664
|
create: (tenant_id: string, method: AuthenticationMethodInsert) => Promise<AuthenticationMethod>;
|
|
48665
48665
|
get: (tenant_id: string, method_id: string) => Promise<AuthenticationMethod | null>;
|
|
48666
|
+
getByCredentialId: (tenant_id: string, credential_id: string) => Promise<AuthenticationMethod | null>;
|
|
48666
48667
|
list: (tenant_id: string, user_id: string) => Promise<AuthenticationMethod[]>;
|
|
48667
48668
|
update: (tenant_id: string, method_id: string, data: AuthenticationMethodUpdate) => Promise<AuthenticationMethod>;
|
|
48668
48669
|
remove: (tenant_id: string, method_id: string) => Promise<boolean>;
|