feat(security): add support for query modes in TOTP provider
CI / build-and-test (push) Successful in 1m33s
CI / build-and-test (push) Successful in 1m33s
* Introduced QueryMode to select between stored procedure and direct SQL execution. * Implemented dbCapability to check for stored procedure existence. * Added methods to DatabaseTwoFactorProvider for configuring table names and query modes. * Created direct SQL implementations for TOTP operations to handle cases where stored procedures are not available. * Updated existing TOTP methods to utilize the new query mode logic.
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
# github.com/beorn7/perks v1.0.1
|
||||
## explicit; go 1.11
|
||||
github.com/beorn7/perks/quantile
|
||||
# github.com/bitechdev/ResolveSpec v1.1.24
|
||||
# github.com/bitechdev/ResolveSpec v1.1.26
|
||||
## explicit; go 1.25.7
|
||||
github.com/bitechdev/ResolveSpec/pkg/cache
|
||||
github.com/bitechdev/ResolveSpec/pkg/common
|
||||
|
||||
Reference in New Issue
Block a user