ClientBuilder.IdentityServerSPA(String) 方法

定义

为与授权服务器共存的单页应用程序创建新的生成器。

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

参数

clientId
String

单页应用程序的客户端 ID。

返回

一个 ClientBuilder

适用于