ClientBuilder.WithoutClientSecrets 方法

定义

从客户端中删除任何已配置的客户端密码,并将其配置为不需要客户端密码来从令牌终结点获取令牌。

public:
 Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^ WithoutClientSecrets();
public Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder WithoutClientSecrets ();
member this.WithoutClientSecrets : unit -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder
Public Function WithoutClientSecrets () As ClientBuilder

返回

ClientBuilder

适用于