mirror of
https://github.com/bitwarden/server
synced 2026-01-03 17:14:00 +00:00
All feature state access through config API (#2785)
This commit is contained in:
@@ -36,4 +36,11 @@ public interface IFeatureService
|
||||
/// <param name="defaultValue">The default value for the feature.</param>
|
||||
/// <returns>The feature variation value.</returns>
|
||||
string GetStringVariation(string key, ICurrentContext currentContext, string defaultValue = null);
|
||||
|
||||
/// <summary>
|
||||
/// Gets all feature values.
|
||||
/// </summary>
|
||||
/// <param name="currentContext">A context providing information that can be used to evaluate the feature values.</param>
|
||||
/// <returns>A dictionary of feature keys and their values.</returns>
|
||||
Dictionary<string, object> GetAll(ICurrentContext currentContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user