1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! 认证设置接口与认证模式(对标 libs/server/Auth/Settings/AuthenticationSettings.cs)
use Arc;
use crate::;
/// 认证模式
///
/// libs/server/Auth/Settings/AuthenticationSettings.cs:GarnetAuthenticationMode
/// 认证器装配上下文(对标 C# CreateAuthenticator(storeWrapper) 自
/// StoreWrapper 提取 accessControlList 的面;rust 会话域尚未在
/// StoreWrapper 挂载 ACL,缺省以 None 传入由各设置自行裁决)
/// 认证设置
///
/// libs/server/Auth/Settings/AuthenticationSettings.cs:IAuthenticationSettings