ClientCollection.AddIdentityServerSPA(String, Action<ClientBuilder>) Метод

Определение

Добавляет одно одностраничное приложение, сосуществующее с сервером авторизации.

public:
 void AddIdentityServerSPA(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public:
 IdentityServer4::Models::Client ^ AddIdentityServerSPA(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public void AddIdentityServerSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public IdentityServer4.Models.Client AddIdentityServerSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public Duende.IdentityServer.Models.Client AddIdentityServerSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
member this.AddIdentityServerSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> unit
member this.AddIdentityServerSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> IdentityServer4.Models.Client
member this.AddIdentityServerSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> Duende.IdentityServer.Models.Client
Public Sub AddIdentityServerSPA (clientId As String, configure As Action(Of ClientBuilder))
Public Function AddIdentityServerSPA (clientId As String, configure As Action(Of ClientBuilder)) As Client

Параметры

clientId
String

Идентификатор клиента для одностраничного приложения.

configure
Action<ClientBuilder>

Action<T>Для настройки одностраничного приложения по умолчанию.

Возвращаемое значение

IdentityServer4.Models.Client
Duende.IdentityServer.Models.Client

Применяется к