mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
feat(NewDeviceVerification) : (#5153)
feat(NewDeviceVerification) : Added constat for the cache key in Bit.Core because the cache key format needs to be shared between the Identity Server and the MVC Admin project. Updated DeviceValidator class to handle checking cache for user information to allow pass through. Updated and Added tests to handle new flow.
This commit is contained in:
@ -57,7 +57,7 @@ public static class AuthConstants
|
||||
public static readonly RangeConstant ARGON2_ITERATIONS = new(2, 10, 3);
|
||||
public static readonly RangeConstant ARGON2_MEMORY = new(15, 1024, 64);
|
||||
public static readonly RangeConstant ARGON2_PARALLELISM = new(1, 16, 4);
|
||||
|
||||
public static readonly string NewDeviceVerificationExceptionCacheKeyFormat = "NewDeviceVerificationException_{0}";
|
||||
}
|
||||
|
||||
public class RangeConstant
|
||||
|
Reference in New Issue
Block a user