Skip to content

class DiscoveryJwksEndpoint

cangjie
public class DiscoveryJwksEndpoint <: EndpointHandler

功能:提供 JWKS 文档端点处理器。

返回用于验证令牌签名的公钥集合。

父类型:

成员概览

成员功能
init(IDiscoveryResponseGenerator)使用发现响应生成器创建 JWKS 端点处理器。
func handle(HttpContext)处理 JWKS 文档请求。

init(IDiscoveryResponseGenerator)

cangjie
public init(responseGenerator: IDiscoveryResponseGenerator)

功能:使用发现响应生成器创建 JWKS 端点处理器。

参数:

func handle(HttpContext)

cangjie
public func handle(_: HttpContext): IEndpointResult

功能:处理 JWKS 文档请求。

参数:

返回值: