interface IAuthenticationHandlerProvider
cangjie
public interface IAuthenticationHandlerProvider功能:定义按方案解析身份验证处理器的服务。
成员概览
| 成员 | 功能 |
|---|---|
| func getHandler(HttpContext, String) | 获取指定方案的身份验证处理器。 |
func getHandler(HttpContext, String)
cangjie
func getHandler(context: HttpContext, schemeName: String): ?IAuthenticationHandler功能:获取指定方案的身份验证处理器。
参数:
- context: HttpContext - 当前 HTTP 上下文。
- schemeName:
String- 目标方案名称。
返回值:
- ?IAuthenticationHandler - 对应的身份验证处理器;不存在时返回 None。