ClientCollection.AddSPA(String, Action<ClientBuilder>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute une application monopage inscrite en externe.
public:
void AddSPA(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public:
IdentityServer4::Models::Client ^ AddSPA(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public void AddSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public IdentityServer4.Models.Client AddSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public Duende.IdentityServer.Models.Client AddSPA (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
member this.AddSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> unit
member this.AddSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> IdentityServer4.Models.Client
member this.AddSPA : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> Duende.IdentityServer.Models.Client
Public Sub AddSPA (clientId As String, configure As Action(Of ClientBuilder))
Public Function AddSPA (clientId As String, configure As Action(Of ClientBuilder)) As Client
Paramètres
- clientId
- String
ID client de l’application monopage.
- configure
- Action<ClientBuilder>
Action<T> pour configurer l’application monopage par défaut.
Retours
IdentityServer4.Models.Client
Duende.IdentityServer.Models.Client