You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of right now, Policies can only be unlocked by passing OptionFunc and KeyFunc callbacks. This works in most cases. However, if there are multiple policies protected with the same protector, then the KeyFunc must be called multiple times to unlock them all.
This could be solved by adding an additional unlock method on the Policy struct.
The text was updated successfully, but these errors were encountered:
As of right now, Policies can only be unlocked by passing
OptionFunc
andKeyFunc
callbacks. This works in most cases. However, if there are multiple policies protected with the same protector, then theKeyFunc
must be called multiple times to unlock them all.This could be solved by adding an additional unlock method on the Policy struct.
The text was updated successfully, but these errors were encountered: