共用方式為


ClientBuilder.WithClientId(String) 方法

定義

更新用戶端的用戶端識別碼 (和名稱) 。

public:
 Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^ WithClientId(System::String ^ clientId);
public Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder WithClientId (string clientId);
member this.WithClientId : string -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder
Public Function WithClientId (clientId As String) As ClientBuilder

參數

clientId
String

新的用戶端識別碼。

傳回

ClientBuilder

適用於