Table of Contents

Class DiscoveryClient

Namespace
KernLab.Claim.Client
Assembly
KernLab.Claim.Client.dll

discovery 客户端(端点定位——消费方零硬编码路径)。

public static class DiscoveryClient
Inheritance
DiscoveryClient
Inherited Members

Methods

FetchAsync(HttpClient, string, CancellationToken)

拉取 discovery 文档并投影常用端点。

public static Task<IReadOnlyDictionary<string, string>> FetchAsync(HttpClient httpClient, string issuer, CancellationToken cancellationToken = default)

Parameters

httpClient HttpClient
issuer string
cancellationToken CancellationToken

Returns

Task<IReadOnlyDictionary<string, string>>