@authhero/kysely-adapter 10.117.0 → 10.119.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.
- package/dist/kysely-adapter.cjs +12 -12
- package/dist/kysely-adapter.d.ts +1 -0
- package/dist/kysely-adapter.mjs +939 -915
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -19148,6 +19148,7 @@ export interface GeoAdapter {
|
|
|
19148
19148
|
export interface AuthenticationMethodsAdapter {
|
|
19149
19149
|
create: (tenant_id: string, method: AuthenticationMethodInsert) => Promise<AuthenticationMethod>;
|
|
19150
19150
|
get: (tenant_id: string, method_id: string) => Promise<AuthenticationMethod | null>;
|
|
19151
|
+
getByCredentialId: (tenant_id: string, credential_id: string) => Promise<AuthenticationMethod | null>;
|
|
19151
19152
|
list: (tenant_id: string, user_id: string) => Promise<AuthenticationMethod[]>;
|
|
19152
19153
|
update: (tenant_id: string, method_id: string, data: AuthenticationMethodUpdate) => Promise<AuthenticationMethod>;
|
|
19153
19154
|
remove: (tenant_id: string, method_id: string) => Promise<boolean>;
|