共用方式為


AbstractApplicationBuilder<T>.WithClientId(String) Method

Definition

Sets the Client ID of the application

public T WithClientId (string clientId);
member this.WithClientId : string -> 'T
Public Function WithClientId (clientId As String) As T

Parameters

clientId
String

Client ID (also known as Application ID) of the application as registered in the application registration portal (https://aka.ms/msal-net-register-app)

Returns

T

The builder to chain the .With methods

Applies to