ApiResourceBuilder.WithApplicationProfile(String) 方法

定义

设置资源的应用程序配置文件。

public:
 Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ApiResourceBuilder ^ WithApplicationProfile(System::String ^ profile);
public Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder WithApplicationProfile (string profile);
member this.WithApplicationProfile : string -> Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceBuilder
Public Function WithApplicationProfile (profile As String) As ApiResourceBuilder

参数

profile
String

来自 ApplicationProfiles的应用程序的配置文件。

返回

ApiResourceBuilder

适用于