class DiscoveryEndpoint
cangjie
public class DiscoveryEndpoint <: EndpointHandler功能:提供 OpenID Connect 发现文档端点处理器。
返回授权服务器的元数据信息。
父类型:
成员概览
| 成员 | 功能 |
|---|---|
| init(IDiscoveryResponseGenerator) | 使用发现文档响应生成器创建端点处理器。 |
| func handle(HttpContext) | 处理发现文档请求。 |
init(IDiscoveryResponseGenerator)
cangjie
public init(responseGenerator: IDiscoveryResponseGenerator)功能:使用发现文档响应生成器创建端点处理器。
参数:
- responseGenerator: IDiscoveryResponseGenerator - 发现文档响应生成器。
func handle(HttpContext)
cangjie
public func handle(_: HttpContext): IEndpointResult功能:处理发现文档请求。
参数:
- _: HttpContext - 当前 HTTP 上下文。
返回值:
- IEndpointResult - 返回发现文档响应结果。