ClientCollection.AddNativeApp(String, Action<ClientBuilder>) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Aggiunge un'applicazione nativa registrata esternamente.
public:
void AddNativeApp(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public:
IdentityServer4::Models::Client ^ AddNativeApp(System::String ^ clientId, Action<Microsoft::AspNetCore::ApiAuthorization::IdentityServer::ClientBuilder ^> ^ configure);
public void AddNativeApp (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public IdentityServer4.Models.Client AddNativeApp (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
public Duende.IdentityServer.Models.Client AddNativeApp (string clientId, Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> configure);
member this.AddNativeApp : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> unit
member this.AddNativeApp : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> IdentityServer4.Models.Client
member this.AddNativeApp : string * Action<Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ClientBuilder> -> Duende.IdentityServer.Models.Client
Public Sub AddNativeApp (clientId As String, configure As Action(Of ClientBuilder))
Public Function AddNativeApp (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 nativa.
Restituisce
IdentityServer4.Models.Client
Duende.IdentityServer.Models.Client