class DiscoveryJwksEndpoint
cangjie
public class DiscoveryJwksEndpoint <: EndpointHandler功能:提供 JWKS 文档端点处理器。
返回用于验证令牌签名的公钥集合。
父类型:
成员概览
| 成员 | 功能 |
|---|---|
| init(IDiscoveryResponseGenerator) | 使用发现响应生成器创建 JWKS 端点处理器。 |
| func handle(HttpContext) | 处理 JWKS 文档请求。 |
init(IDiscoveryResponseGenerator)
cangjie
public init(responseGenerator: IDiscoveryResponseGenerator)功能:使用发现响应生成器创建 JWKS 端点处理器。
参数:
- responseGenerator: IDiscoveryResponseGenerator - 发现响应生成器。
func handle(HttpContext)
cangjie
public func handle(_: HttpContext): IEndpointResult功能:处理 JWKS 文档请求。
参数:
- _: HttpContext - 当前 HTTP 上下文。
返回值:
- IEndpointResult - 返回 JWKS 文档响应结果。