zhaolei
8 days ago 4a2e5b9a21940f11757be37d99f0944e240e908b
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Bootstrap.Security.Mvc</name>
    </assembly>
    <members>
        <member name="T:Microsoft.AspNetCore.Builder.AuthenticationExtensions">
            <summary>
            BootstrapAdminAuthorization 认证服务扩展类
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.AuthenticationExtensions.UseBootstrapAdminAuthentication(Microsoft.AspNetCore.Builder.IApplicationBuilder,System.Func{System.String,System.Collections.Generic.IEnumerable{System.String}},System.Func{System.String,System.String,System.Collections.Generic.IEnumerable{System.String}},System.Func{System.String,System.Collections.Generic.IEnumerable{System.String}})">
            <summary>
            添加 BootstrapAdmin 认证授权服务,内部调用 UseAuthentication
            </summary>
            <param name="builder">IApplicationBuilder 实例</param>
            <param name="userNameAuthHandler">通过用户名称获得角色集合代理方法</param>
            <param name="urlAuthHandler">通过请求地址获得角色集合代理方法</param>
            <param name="appAuthHandler">通过用户名称获得应用程序集合代理方法</param>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.AuthenticationExtensions.RetrieveRolesByUserName(System.String)">
            <summary>
            通过指定用户名获取授权角色集合
            </summary>
            <param name="userName"></param>
            <returns></returns>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.AuthenticationExtensions.RetrieveRolesByUrl(System.String,System.String)">
            <summary>
            通过指定访问地址获取授权角色集合
            </summary>
            <param name="url">指定地址</param>
            <param name="appId">应用程序ID</param>
            <returns>角色集合</returns>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.AuthenticationExtensions.RetrieveAppsByUserName(System.String)">
            <summary>
            通过指定用户名获取授权 App 集合
            </summary>
            <param name="userName">用户名</param>
            <returns>应用程序集合</returns>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.AuthenticationExtensions.AddRoles(System.Security.Claims.ClaimsPrincipal,System.Collections.Generic.IEnumerable{System.String},System.Security.Claims.ClaimsIdentity)">
            <summary>
            添加 Claim 到当前用户实例中
            </summary>
            <param name="user"></param>
            <param name="roles"></param>
            <param name="identity"></param>
        </member>
        <member name="T:Microsoft.AspNetCore.Builder.AuthenticationServiceCollectionExtensions">
            <summary>
            BootstrapAdminAuthorization 认证服务扩展类
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.AuthenticationServiceCollectionExtensions.AddBootstrapAdminAuthentication(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.Configuration.IConfiguration,System.Action{Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions},System.Action{Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions})">
            <summary>
            添加 BootstrapAdmin 认证授权服务,内部调用 AddAuthentication
            </summary>
            <param name="services">服务容器集合</param>
            <param name="configuration">IConfiguration 实例</param>
            <param name="configureOptions">BootstrapAdminAuthenticationOptions 配置回调方法</param>
            <param name="configureCookies">CookieAuthenticationOptions 配置回调方法</param>
            <returns>IServiceCollection 服务容器集合</returns>
        </member>
        <member name="T:Microsoft.AspNetCore.Builder.HealthChecksBuilderExtensions">
            <summary>
            BootstrapAdmin 健康检查扩展类
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.HealthChecksBuilderExtensions.MapBootstrapHealthChecks(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder,Microsoft.AspNetCore.Http.PathString,System.Action{Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions})">
            <summary>
            启用健康检查
            </summary>
            <param name="endpoints"></param>
            <param name="path"></param>
            <param name="configure"></param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions">
            <summary>
            BootstrapAdminAuthentication 授权框架配置实体类
            </summary>
        </member>
        <member name="P:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions.ApplicationAppName">
            <summary>
            获得/设置 应用程序名称 默认 __bd__
            </summary>
        </member>
        <member name="P:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions.ApplicationDiscriminator">
            <summary>
            获得/设置 应用程序鉴别器 默认 "BootstrapAdmin"
            </summary>
        </member>
        <member name="P:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions.KeyPath">
            <summary>
            获得/设置 登录 Key 物理路径 默认 "..\\keys" (windows) "../keys" macOS/Linux
            </summary>
        </member>
        <member name="P:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions.CookiePath">
            <summary>
            获得/设置 Cookie 路径 默认 "/"
            </summary>
        </member>
        <member name="P:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions.CookieDomain">
            <summary>
            获得/设置 Cookie Domain 默认 null
            </summary>
        </member>
        <member name="P:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions.AuthHost">
            <summary>
            获得/设置 登录授权应用程序
            </summary>
        </member>
        <member name="T:Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptionsExtensions">
            <summary>
            CookieAuthenticationOptions 扩展类
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptionsExtensions.RebuildRedirectUri(Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions,System.String,System.String,System.String)">
            <summary>
            重写OnRedirectToLogin/OnRedirectToAccessDenied方法
            </summary>
            <param name="options">CookieAuthenticationOptions 实例</param>
            <param name="authHost">授权网站主机头</param>
            <param name="loginPath">登录地址,默认为 CookieAuthenticationDefaults.LoginPath</param>
            <param name="accessDeniedPath">拒绝访问地址,默认为 CookieAuthenticationDefaults.AccessDeniedPath</param>
        </member>
        <member name="T:Microsoft.AspNetCore.Authorization.AppRequirement">
            <summary>
            BootstrapAdmin 应用程序授权要求类
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Authorization.AppRequirement.HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext,Microsoft.AspNetCore.Authorization.AppRequirement)">
            <summary>
            处理授权要求方法
            </summary>
            <param name="context"></param>
            <param name="requirement"></param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilderExtensions">
            <summary>
            授权扩展操作类
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilderExtensions.RequireBootstrapAdminAuthorizate(Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder)">
            <summary>
            RequireBootstrapAdminAuthorizate 扩展方法
            </summary>
            <param name="builder">AuthorizationPolicyBuilder 实例</param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.AspNetCore.Mvc.Filters.BootstrapAdminAuthorizeFilter">
            <summary>
            BootstrapAdmin 后台权限认证过滤器
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Mvc.Filters.BootstrapAdminAuthorizeFilter.OnAuthorizationAsync(Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext)">
            <summary>
            异步授权方法
            </summary>
            <param name="context">过滤器上下文</param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.AspNetCore.Mvc.Filters.ButtonAuthorizeAttribute">
            <summary>
            按钮权限检查过滤器
            </summary>
        </member>
        <member name="P:Microsoft.AspNetCore.Mvc.Filters.ButtonAuthorizeAttribute.Url">
            <summary>
            按钮授权所属菜单
            </summary>
        </member>
        <member name="P:Microsoft.AspNetCore.Mvc.Filters.ButtonAuthorizeAttribute.Auth">
            <summary>
            按钮授权标识码
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Mvc.Filters.ButtonAuthorizeAttribute.OnActionExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext,Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate)">
            <summary>
            控制器执行异步调用方法
            </summary>
            <param name="context"></param>
            <param name="next"></param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.Extensions.DependencyInjection.ButtonAuthorizationServicesCollectionExtensions">
            <summary>
            按钮授权服务扩展类
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.ButtonAuthorizationServicesCollectionExtensions.AddButtonAuthorization(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.String,System.String,System.String,System.Boolean})">
            <summary>
            添加按钮授权服务到服务容器中
            </summary>
            <param name="services">容器服务集合</param>
            <param name="func">通过用户名获取授权按钮集合回调方法(userName, url, auths) => bool</param>
            <returns>容器服务集合</returns>
        </member>
        <member name="T:Microsoft.Extensions.DependencyInjection.HealthChecksExtensions">
            <summary>
            健康检查扩展类
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.HealthChecksExtensions.AddBootstrapAdminHealthChecks(Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder)">
            <summary>
            添加 BootstrapAdmin 健康检查
            </summary>
            <param name="builder"></param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.Extensions.Configuration.ConfigurationExtensions">
            <summary>
            配置文件配置小节映射操作类
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.Configuration.ConfigurationExtensions.GetSection``1(Microsoft.Extensions.Configuration.IConfiguration)">
            <summary>
            通过类型获得配置小节 读取顺序 Key > Name > FullName > ProviderAlias
            </summary>
            <param name="configuration"></param>
            <returns></returns>
        </member>
        <member name="M:Microsoft.Extensions.Configuration.ConfigurationExtensions.GetOption``1(Microsoft.Extensions.Configuration.IConfiguration,System.Func{``0})">
            <summary>
            通过指定 Section 名称 获得配置项类实例
            </summary>
            <typeparam name="T"></typeparam>
            <param name="configuration"></param>
            <param name="valueFactory">默认值</param>
            <returns></returns>
        </member>
        <member name="M:Microsoft.Extensions.Configuration.ConfigurationExtensions.GetBootstrapAdminAuthenticationOptions(Microsoft.Extensions.Configuration.IConfiguration)">
            <summary>
            获得 配置文件中 BootstrapAdminAuthenticationOptions 实例
            </summary>
            <param name="configuration"></param>
            <returns></returns>
        </member>
        <member name="T:Bootstrap.Security.Authentication.BootstrapAdminJwtTokenHandler">
            <summary>
            BootstrapAdmin JWT 授权操作类
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Authentication.BootstrapAdminJwtTokenHandler.CreateToken(System.String,System.Action{Bootstrap.Security.Authentication.TokenValidateOption})">
            <summary>
            通过指定用户名创建 JWT Token
            </summary>
            <param name="userName">用户名</param>
            <param name="configure">Token 配置信息</param>
            <returns>Json Web Token (JWT)</returns>
        </member>
        <member name="T:Bootstrap.Security.Authentication.TokenValidateOption">
            <summary>
            JWT Token 配置项
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Authentication.TokenValidateOption.Issuer">
            <summary>
            获得/设置 颁发者 默认 BA
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Authentication.TokenValidateOption.Audience">
            <summary>
            获得/设置 接受者 默认 api
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Authentication.TokenValidateOption.Expires">
            <summary>
            获得/设置 超期时间 默认 5 分钟
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Authentication.TokenValidateOption.SecurityKey">
            <summary>
            获得/设置 安全码 默认 BootstrapAdmin-V1.1
            </summary>
        </member>
        <member name="T:Bootstrap.Security.Authorization.DefaultButtonAuthorization">
            <summary>
            IButtonAuthorization 内部默认实现类
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Authorization.DefaultButtonAuthorization.#ctor(System.Func{System.String,System.String,System.String,System.Boolean})">
            <summary>
            默认构造函数
            </summary>
            <param name="func">通过指定用户名获取按钮授权集合回调方法</param>
        </member>
        <member name="M:Bootstrap.Security.Authorization.DefaultButtonAuthorization.Authorizate(Microsoft.AspNetCore.Http.HttpContext,System.String,System.String)">
            <summary>
            授权方法
            </summary>
            <param name="context">HttpContext 上下文</param>
            <param name="url">当前请求地址 Url</param>
            <param name="auths">当前按钮授权字符串键值</param>
            <returns></returns>
        </member>
        <member name="M:Bootstrap.Security.Authorization.DefaultButtonAuthorization.Authorizate(System.Security.Claims.ClaimsPrincipal,System.String,System.String)">
            <summary>
            授权方法
            </summary>
            <param name="user">当前登录用户实例</param>
            <param name="url">当前请求地址 Url</param>
            <param name="authKeys">当前按钮授权字符串键值</param>
            <returns></returns>
        </member>
        <member name="T:Bootstrap.Security.Authorization.IButtonAuthorization">
            <summary>
            按钮授权接口
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Authorization.IButtonAuthorization.Authorizate(System.Security.Claims.ClaimsPrincipal,System.String,System.String)">
            <summary>
            授权方法
            </summary>
            <param name="user">当前登录用户实例</param>
            <param name="url">当前请求地址 Url</param>
            <param name="authKeys">当前按钮授权字符串键值</param>
            <returns></returns>
        </member>
        <member name="T:Bootstrap.Security.Mvc.BootstrapAppContext">
            <summary>
            BootstrapAdmin 应用程序上下文
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Mvc.BootstrapAppContext.AppId">
            <summary>
            获得 当前应用程序配置 appId 值
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Mvc.BootstrapAppContext.Configuration">
            <summary>
            获得 当前应用程序 IConfiguration 实例
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Mvc.BootstrapAppContext.ServiceProvider">
            <summary>
            获得 当前应用程序容器服务接口实例
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Mvc.BootstrapAppContext.SetConfiguration(Microsoft.Extensions.Configuration.IConfiguration)">
            <summary>
            设置当前上下文 IConfiguration 实例
            </summary>
            <param name="configuration"></param>
        </member>
        <member name="M:Bootstrap.Security.Mvc.BootstrapAppContext.SetProvider(System.IServiceProvider)">
            <summary>
            设置 当前上下文容器服务器接口实例
            </summary>
            <param name="provider"></param>
        </member>
        <member name="T:Bootstrap.Security.Mvc.HealthChecks.EnvironmentCheck">
            <summary>
            环境变量健康检查类
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Mvc.HealthChecks.EnvironmentCheck.CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext,System.Threading.CancellationToken)">
            <summary>
            异步检查方法
            </summary>
            <param name="context"></param>
            <param name="cancellationToken"></param>
            <returns></returns>
        </member>
        <member name="T:Bootstrap.Security.Mvc.HealthChecks.GCHealthCheck">
            <summary>
            内存状态检查其
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Mvc.HealthChecks.GCHealthCheck.CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext,System.Threading.CancellationToken)">
            <summary>
            异步检查方法
            </summary>
            <param name="context"></param>
            <param name="cancellationToken"></param>
            <returns></returns>
        </member>
        <member name="T:Bootstrap.Security.Mvc.HealthChecks.MemoryHealthCheck">
            <summary>
            内存检查器
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Mvc.HealthChecks.MemoryHealthCheck.CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext,System.Threading.CancellationToken)">
            <summary>
            异步检查方法
            </summary>
            <param name="context"></param>
            <param name="cancellationToken"></param>
            <returns></returns>
        </member>
        <member name="T:Bootstrap.Security.Mvc.HealthChecks.NetCoreRuntimeCheck">
            <summary>
            NETCore 运行时检查
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Mvc.HealthChecks.NetCoreRuntimeCheck.CheckHealthAsync(Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckContext,System.Threading.CancellationToken)">
            <summary>
            异步检查方法
            </summary>
            <param name="context"></param>
            <param name="cancellationToken"></param>
            <returns></returns>
        </member>
        <member name="T:Bootstrap.Security.Mvc.TagHelpers.AuthorizateTagHelper">
            <summary>
            网页控件授权帮助类
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Mvc.TagHelpers.AuthorizateTagHelper.#ctor(Bootstrap.Security.Authorization.IButtonAuthorization,Microsoft.AspNetCore.Http.IHttpContextAccessor)">
            <summary>
            默认构造函数
            </summary>
            <param name="authorization">IButtonAuthorization 实例</param>
            <param name="httpContextAccessor">IHttpContextAccessor 实例</param>
        </member>
        <member name="P:Bootstrap.Security.Mvc.TagHelpers.AuthorizateTagHelper.AuthorizationServices">
            <summary>
            获得 按钮授权服务
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Mvc.TagHelpers.AuthorizateTagHelper.HttpContext">
            <summary>
            获得 请求上线文
            </summary>
        </member>
        <member name="P:Bootstrap.Security.Mvc.TagHelpers.AuthorizateTagHelper.AuthKey">
            <summary>
            获得/设置 授权键值
            </summary>
        </member>
        <member name="M:Bootstrap.Security.Mvc.TagHelpers.AuthorizateTagHelper.Process(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext,Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput)">
            <summary>
            HTML处理方法
            </summary>
            <param name="context">HTML Tag 上下文</param>
            <param name="output">Tag 内容流</param>
        </member>
        <member name="M:System.OSPlatformPathExtenstions.GetOSPlatformPath(System.String)">
            <summary>
            获得 当前操作系统目录分隔符的路径
            </summary>
            <param name="originalString">原始路径字符串</param>
            <returns></returns>
        </member>
    </members>
</doc>