Condividi tramite


ClientCollection.AddIdentityServerSPA Metodo

Definizione

Aggiunge un'applicazione a pagina singola che coesiste con un server di autorizzazione.

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

Parametri

clientId
String

ID client per l'applicazione a pagina singola.

configure
Action<ClientBuilder>

Oggetto Action<T> per configurare l'applicazione a pagina singola predefinita.

Restituisce

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

Si applica a